uppercaseWords

Convert the first character of each word in the string to uppercase.

Twine\Str::uppercaseWords() : Twine\Str

Examples

$string = new Twine\Str('john pinkerton');

        $string->uppercaseWords(); // Returns 'John Pinkerton'