You could use JS's regex functions...
--
Jamie Keane
Programmer
SolutionMasters, Inc.
9111 Monroe Rd., Suite 100
Charlotte, NC 28270
www.solutionmasters.com
704.563.5559 x 228 Voice
704.849.9291 Fax
-Original Message-
From: Kevin Langevin <[EMAIL PROTECTED]>
To: CF-Talk <[EMAIL PROTECT
Hi,
You can use this:
MyString.indexOf("substring")
This will return -1 if not found, or a value if the substring is found.
- Geoff B
> -Original Message-
> From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 02, 2000 2:17 PM
> To: CF-Talk
> Subject: Javascript str
Try the indexOf() method of the string object.
Bob
-Original Message-
From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 2:17 PM
To: CF-Talk
Subject: Javascript string search question...
Anyone know how to do a text string search in Javascript? I've used
su
Well, you can use the search method (NN4, IEj3) or the indexOf method for
older browsers.
I recommend the O'Reilly book, "Dynamic HTML: The Definitive Reference", by
Danny Goodman.
-Original Message-
From: Kevin Langevin [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 02, 2000 1:17 PM
T
4 matches
Mail list logo