* Mark Fowler <[EMAIL PROTECTED]> [2002-12-09 09:51]:
> darren chamberlain wrote:
>
> > * JustSome person <[EMAIL PROTECTED]> [2002-12-07 20:45]:
> > > 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.
>
> > [% IF dynamicstring.search('Z') %]
>
> You missed out the '$' to force it to check the end of line
My original test had it (not posted), but then I got slipped up by this
statement, from the original:
> > 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.
Mark is correct -- the pattern needs to be 'Z$', but it shouldn't fail,
given that matter.
(darren)
--
God never occurs to you in person but always in action.
-- Gandhi
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates