string ucwords
Capitalizes the first character of each word in str if that character is alphabetic.
See also strtoupper(), strtolower() and ucfirst().