PHP ucwords() Function

PHP ucwords() Function

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

Related functions:

ucfirst() - converts the first character of a string to uppercase
lcfirst() - converts the first character of a string to lowercase
strtoupper() - converts a string to uppercase
strtolower() - converts a string to lowercase
July 6, 2021
phpucwords