Author Topic

Marco Zinn

Sunday 31 October 2004 7:11:48 am

Comment16842

Hi,

if you are talking about a string and want to switch based on the number of characters, you should have a look at the count-function.

Pseudo-code

{section show=your_string_var$|count()|gt(16)}
more than 16 chars
{section-else}
not more than 16 chars
{/section}

Marco
http://www.hyperroad-design.com