capitalize a string, or all words in a string