Functions

Replace

A shorthand version of the str_replace function is given here to be used as 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}

Empty Check

Use this to check empty or not .

{$variable_name|empty}

Not Empty

Use this to check string or array not empty

{$variable_name|empty:'!'}

Isset

Use this to check variable have value or not.

{$variable_name|isset}