Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Monday 21 April 2008 9:58:54 am - 2 replies
Modified on Monday 21 April 2008 10:04:56 am by Tony Stark
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
Maxime Thomas
Monday 21 April 2008 11:39:15 pm
Or in a prefixed way :
{if $mytext|count()|gt(0)} ... {/if}
Maxime Thomas maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou Company Blog : http://www.wascou.org/eng/Company/Blog Technical Blog : http://share.ez.no/blogs/maxime-thomas
You must be logged in to post messages in this topic!