pascal Twig Filter

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.

This filter is unique to Aptuitiv. It is not part of the core Twig functionality.
{% set words = 'big red watermellons' %}
{{ words|pascal }} {# outputs BigRedWatermellons #}
This documentation is only for Aptuitiv CMS. Learn more.
Get Started With Aptuitiv