Forums / Developer / Checking Length of variable / Comment49404
Felix Laate
Monday 21 April 2008 11:40:01 am
Hi Tony,
you could use the count_chars-operator:
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_operators/strings/count_chars
{if gt($mytext|count_chars,'0')} your code.. {/if}
Felix
Publlic Relations Manager Greater Stavanger www.greaterstavanger.com