Functions:reverse
From Dwoo Docs
Reverses a string or an array
reverse(string $value, [ bool $preserve_keys = false ])
- value : the string or array to reverse
- preserve_keys : if value is an array and this is true, then the array keys are left intact
Example:
{loop reverse(array('a', 'b', 'c'))}{$} {/loop}
{"abc"|reverse}
Output:
c b a cba




