PHP - text styling functions

0 votes
108 views
added Sep 18, 2018 in PHP by LC Marshal Captain (25,770 points)
lcfirst()
// converts the first character of a string to lowercase.

ucfirst()
// converts the first character of a string to uppercase.

ucwords()
// converts the first character of each word in a string to uppercase.

strtoupper()
// converts a string to uppercase.

strtolower()
// converts a string to lowercase.

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...