Convert the string to kebabCase.

Twine\Str::kebabCase( void ) : Twine\Str

Examples

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

        $string->kebabCase(); // Returns 'john-pinkerton'