Skip to content Skip to footer navigation

Thanks to visit codestin.com
Credit goes to statamic.dev

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.