• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Template Syntax: Calculate string length possible?

is there a helper, a tag or a simple trick to calculate the length of a given string?

i tried:
{xen:helper length, $variable}
{xen:string length, $variable}
but nothing worked.
I also couldn't find anything in /library/XenForo/Helper/String.php

any ideas?