Ben looks just like mine ( I left out the assign but I have it. Seems that it does not pick up the " " as a space but as empty. Not sure but It does not work did you try this?
When I do it resolves to address OK when of course it is not OK. Dan on 6/7/02 7:49 PM, Ben Johansen at [EMAIL PROTECTED] wrote: > <@assign testemail value="abc [EMAIL PROTECTED]" scope=local> > <@IF EXPR='<@Locate STR="@@testemail" FINDSTR=" "> > 0'> > Hey dude you can't use a space in an email address > <@ELSE> > address ok > </@IF> > > > Ben Johansen - http://www.pcforge.com > Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm > Latest downloads & List Archives @ http://www.witango.ws > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Dan Stein > Sent: Friday, June 07, 2002 4:02 PM > To: Multiple recipients of list witango-talk > Subject: Witango-Talk: <@Locate> Tag question > > How can I use <@Locate> to find a space in a string. > > I want something like > <@IF > EXPR='<@Locate STR="Email FINDTR=" ">=1'> > Hey dude you can't use a space in an email address > <@ELSE> > </@IF> > > FINSTR=" " does not find space what can I use? > -- Dan Stein Digital Software Solutions 799 Evergreen Circle Telford PA 18969 Land: 215-799-0192 Mobile: 610-256-2843 FMP, WiTango, EDI,SQL 2000 [EMAIL PROTECTED] www.dss-db.com ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
