I am pushing keywords onto the package with keys like
Keyword1Title
and pulling them out in my DWT using
@@Keyword{$TemplateRepeatIndex}Title@@
The problem is I want to test the contents of the variable (i.e. not empty) before writing the surrounding HTML. Like:
<!-- TemplateBeginIf cond="StringLength(TemplateRepeatIndexBasedKey) > 0" -->
<p>@@Keyword{$TemplateRepeatIndex}Title@@</p>
<!-- TemplateEndIf -->
So far I have tried StringLength(KeywordTemplateRepeatIndexTitle)
but itFollowup to Nuno's comment: StringLength(KeywordTemplateRepeatIndexTitle) always returns false.
Is this possible?