[thelist] Regular Expression

Raymond Camden jedimaster at macromedia.com
Thu Mar 7 08:50:01 CST 2002


Err, I don't know ASP, but isn't this a simple equivalence check?

ie,

if(str == "cats")

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email    : jedimaster at macromedia.com
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Feingold Josh S
> Sent: Thursday, March 07, 2002 9:36 AM
> To: 'thelist at lists.evolt.org'
> Subject: [thelist] Regular Expression
>
>
> This message is in MIME format. Since your mail reader does
> not understand
> this format, some or all of this message may not be legible.
> --
> [ Picked text/plain from multipart/alternative ]
> I am programming in an ASP environment and want to use a
> regular expression
> to find out if a string is the only thing in another string.
> Can anyone
> help me?
>
> Specifically, if I had the string "CATS,DOGS,RATS"  I would
> like to test if
> the string only says "CATS."
>
> Thanks,
> Josh
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>




More information about the thelist mailing list