Convert the string to snakeCase.

Twine\Str::snakeCase( void ) : Twine\Str

Examples

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

        $string->snakeCase(); // Returns 'john_pinkerton'