Modifier: ucfirst


Converts the first character of a string to upper case.

string: i wanna go home.
{{ string | ucfirst }}
I wanna go home.

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016