Thank you all. Strangely, i tried the \|\|, and it didn't work. But I imagine something else was wrong with my syntax. But now it works. LOL.
THANK YOU VERY VERY MUCH!!! Appreciatre it. --- On Tue, 4/20/10, Darren Chamberlain <[email protected]> wrote: From: Darren Chamberlain <[email protected]> Subject: Re: [Templates] TT: split is not working, why? To: [email protected] Date: Tuesday, April 20, 2010, 7:09 PM On Tue, Apr 20, 2010 at 21:57, Summer <[email protected]> wrote: > FOREACH newstr IN thistxtstring.split( '||' ); split takes a regex, so you need to escape the |: FOREACH newstr IN thistxtstring.split( '\|\|' ); -- (darren) _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
