blob: 2353658bf157f311b8b9b7e34b68e62170d79372 [file] [log] [blame]
``capitalize``
==============
The ``capitalize`` filter capitalizes a value. The first character will be
uppercase, all others lowercase:
.. code-block:: twig
{{ 'my first car'|capitalize }}
{# outputs 'My first car' #}