Hey all,

I have a string, since it is dynamic from a database I
never know what it can contain....BUT if the last
character of that string is a "Z", then it returns
false...unfortunetly, I am not using the latest
version of template toolkit. I have ".search()"....but
not ".match()" methods....and I replace()...

anyways,,,,how can I take a string..ala..

[% dynamicstring %]

and test to see if "dynamicstring"...has a Z as its
last character??? keep in mind that Z can be IN the
string, just not the last character.

please help..thanks, james


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates

Reply via email to