D Documentation  
capwords
char[] capwords(char[] s)

Capitalizes all words in string, removes leading and trailing whitespace and replaces all sequences of whitespace with a single space.

See also:
capitalize, toupper
Created using PHP docwiki written by Markus Dangl. Best viewed with Mozilla Firefox.