ucwords

ucwords -- Uppercase the first character of each word in a string

Description

string ucwords(string str);

Capitalizes the first character of each word in str if that character is alphabetic.

See also strtoupper(), strtolower() and ucfirst().