Functions:capitalize

Uppercases the first letter of each word in the given string

capitalize(string $value [, bool $numwords = false ] )


 * value : string to capitalize
 * numwords : whether or not to capitalize words with numbers

Example: Output: This Is A String what2