capitalize
Found a typo or an error? Want to improve this document? Edit it.
Need support or have a technical question? Post to the user mailing-list.
The capitalize filter capitalizes a value. The first character will be uppercase, all others lowercase:
1 2 3
{{ 'my first car'|capitalize }} {# outputs 'My first car' #}