I need an st4 expression to render an element if a string is not empty:
<if(theString)>...<endif>
does not work - it seems to only work for arrays.
I've tried if(theString.length > 0)
and all kinds of stuff, but it looks like it this only works for variables that are not set or for arrays.
I am iterating over a list and rendering this, so I could have values in the middle that are empty strings that I don't want to render anything at all for.