Previous | Home | Next |
lcfirst()
The lcfirst() function converts the first character of a string to lowercase.
Syntax:lcfirst(string)
Example:
<?php echo lcfirst("GUD MORNING!"); ?>
Output:
ucfirst()
The ucfirst() function converts the first character of a string to uppercase.
Syntax:ucfirst(string)
Example:
<?php echo ucfirst("gud morning!"); ?>
Output:
Previous | Home | Next |