Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

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.