uppercaseFirst

Convert the first character of the string to uppercase.

Twine\Str::uppercaseFirst() : Twine\Str

Examples

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

        $string->uppercaseFirst(); // Returns 'John pinkerton'