Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:40 PM
Hugh Welford
Guest
 
Posts: n/a
Default "like" operator

Hi

I cant seem to get the LIKE oprator to work in asp.

I am trying to verify e-mail input format by using
request("email") like "*@*.*"

but it returns "sub or function not defined"

any suggestions? thanks Hugh



  #2  
Old July 19th, 2005, 01:40 PM
CJM
Guest
 
Posts: n/a
Default Re: "like" operator

http://www.devguru.com/Technologies/...operators.html

Like is not a valid operator.

You could use regular expressions, or more simply use InStr()

CJM

"Hugh Welford" <hugh.welford@btinternet.com> wrote in message
news:OZzjjyGTEHA.3872@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi
>
> I cant seem to get the LIKE oprator to work in asp.
>
> I am trying to verify e-mail input format by using
> request("email") like "*@*.*"
>
> but it returns "sub or function not defined"
>
> any suggestions? thanks Hugh
>
>
>[/color]


  #3  
Old July 19th, 2005, 01:40 PM
Hugh Welford
Guest
 
Posts: n/a
Default Re: "like" operator

thanks a lot CJM

hugh


"CJM" <cjmwork@yahoo.co.uk> wrote in message
news:ep%23XMLHTEHA.2336@TK2MSFTNGP10.phx.gbl...[color=blue]
> http://www.devguru.com/Technologies/...operators.html
>
> Like is not a valid operator.
>
> You could use regular expressions, or more simply use InStr()
>
> CJM
>
> "Hugh Welford" <hugh.welford@btinternet.com> wrote in message
> news:OZzjjyGTEHA.3872@TK2MSFTNGP10.phx.gbl...[color=green]
> > Hi
> >
> > I cant seem to get the LIKE oprator to work in asp.
> >
> > I am trying to verify e-mail input format by using
> > request("email") like "*@*.*"
> >
> > but it returns "sub or function not defined"
> >
> > any suggestions? thanks Hugh
> >
> >
> >[/color]
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles