ucwords
Convert the first letter of each word in the string to uppercase
ucwords()
function converts the first character of each word in the string to uppercase.
Note: This function is binary safe.
lcfirst()
- Convert first character in a string to lowercasestrtolower()
- Convert strings to lowercasestrtoupper()
- Convert string to uppercaseucfirst()
- Convert the first character in a string to uppercaseucwords ( string )
parameter | describe |
---|---|
string | Required. Specifies the string to be converted. |