"Mabe, Brad" wrote:
> Will return a "4" because "d" is the fourth letter in the string
> "abcdefghij".  If no match is made, a 0 is returned.  This is especially
> useful when building a change password form, because I can easily check to
> see that the new password contains at least one special character, upper
> case character, number, etc.  

<dtml-if "not 'x' in 'xyz'">
You haven't got an 'x' in your stuff

That'll do for starters, you might want to look into the python re
module (you'll need an external method as I don't think python methods
support re...)



Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to