Modifier: camelize


Returns a camelCase version of a string. Trims surrounding spaces, capitalizes letters following digits, spaces, dashes and underscores, and removes spaces, dashes and underscores. It’s a programmer-type thing, great for converting between code styles.

method: make_everything_better
{{ method | camelize }}
makeEverythingBetter

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016