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

Jason Spisak webmaster@mtear.com
Fri, 03 Sep 1999 12:16:25 -0800


Phillip and Kevin,

Yes I'm that stupid.  To go that far into it, and miss the '' literal. 
Eating always helps.  Thanks, you guys.

All my best,

Jason Spisak

"Phillip J. Eby" wrote:
> 
> 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.