[Zope-dev] Finding a sub string using _.string.find

Phillip J. Eby pje@telecommunity.com
Fri, 03 Sep 1999 14:01:37 -0500


At 11:54 AM 9/3/99 -0800, Jason Spisak wrote:
>
><!--#if "_.string.find(email_address,@)==-1"-->
>It's not valid!
><!--#else-->
>It is!
><!--#/if-->
>

Try:

<!--#if "_.string.find(email_address,'@')==-1"-->

You've gotta have quotes around a string literal.