Skip to content

lowercaseFirst

Convert the first letter of the string to lowercase.

php
Twine\Str::lowercaseFirst() : Twine\Str

Examples

php
$string = new Twine\Str('JOHN PINKERTON');

$string->lowercaseFirst(); // Returns 'jOHN PINKERTON'