ucfirst Modifier

Converts the first character of a string to upper case.

string: i wanna go home.
{{ string | ucfirst }}
{{ Statamic::modify($string)->ucfirst() }}
I wanna go home.
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →