pascal

The pascal filter takes a series of words and pascal cases them (PascalCase). Words are joined together and the first letter of each word is capitalized. All other letters are lowercase. Non alphanumeric characters are removed.

{% set words = 'big red watermellons' %}
{{ words|pascal }} {# outputs BigRedWatermellons #}

< Back to the list of filters