Convert the string to pascalCase.

Twine\Str::pascalCase( void ) : Twine\Str

Examples

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

        $string->pascalCase(); // Returns 'JohnPinkerton'

Aliases

Twine\Str::camelCase() = Twine\Str::pascalCase()