Php converts all strings to uppercase or lowercase letters. Php converts all strings to uppercase/lowercase letters. This article describes how php converts all strings to uppercase/lowercase letters, it involves strtolower and strtoupper in php. php converts all strings to uppercase or lowercase letters.
This article describes how php converts all strings to uppercase or lowercase letters, and describes how to use strtolower, strtoupper, and other functions in php. For more information, see
This example describes how php converts all strings to uppercase or lowercase letters. Share it with you for your reference. The specific analysis is as follows:
In php, you can use the strtolower and strtoupper functions to convert all English characters in the string to lowercase or uppercase letters.
?
1 2 3 4 5 6 7 8 |
$ String = "Learn PHP string functions at jb51.net "; $ Lower = strtolower ($ string ); $ Upper = strtoupper ($ string ); Print ("$ lower \ n "); Print ("$ upper \ n "); Print ("\ n "); ?> |
The output result is as follows:
?
1 2 |
Learn php string functions at jb51.net Learn php string functions at JB51.NET |
I hope this article will help you with php programming.
This article describes how php converts all strings to uppercase or lowercase letters, including strtolower and strtoupper in php...