Modifier: backspace


Removes a specified number of characters from the end of a string.

title: supercalifragilisticexpialidocious
{{ title | backspace:29 }}
super

Additional Reading

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

Last modified on March 31, 2016