over 9 years ago
Convert a string to uppercase:
strtoupper() function is used to convert a string to uppercase. It convert all characters of string to uppercase.
Syntax:
You have to pass only one parameter to the function i.e., the string which you want to convert to uppercase.
For example:
Convert a string to lowercase:
strtolower() function is used to convert a string to lowercase. It convert all characters of string to lowercase.
Syntax:
You have to pass only one parameter to the function i.e., the string which you want to convert to lowercase.
For example:
0 Comment(s)