Skip to content

studlyCase

Convert the string to studlyCase.

php
Twine\Str::studlyCase( void ) : Twine\Str

Examples

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

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