capitalizeΒΆ

The capitalize filter capitalizes a value. The first character will be uppercase, all others lowercase:

{{ 'my first car'|capitalize }}

{# outputs 'My first car' #}

Previous topic

batch

Next topic

convert_encoding

This Page