Functions

Replace

This is a shorthand version of the str_replace function. Use it to replace a value in a string.

{$variable_name|replace:'hello':'world'}

Count

Use this to count the number of entries in an array.

{$variable_name|count}