Hello All,

I have something like this:

[% thistxtstring = "Green || over the rainbow || hello" %]

and I try this:

 FOREACH newstr IN thistxtstring.split( '||' );
'<br>item: ' _ newstr;
END;

or
txtarray = thistxtstring.split( '||' );
FOREACH newstr = txtarray;
'<br>item: ' _ newstr;

I even tried: newstr.0 newstr.1 etc..

AND I ALWAYS GET only ONE CHARACTER ie..

item: G
item: r
item: e
item: e
item: n
item: 
item: ||

what is my problem!!!!! help please :-)




      
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to