Re: Javascript string search question...

2000-10-02 Thread Jamie Keane
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

RE: Javascript string search question...

2000-10-02 Thread Geoffrey V. Brown
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

RE: Javascript string search question...

2000-10-02 Thread Bob Silverberg
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

RE: Javascript string search question...

2000-10-02 Thread Hayes, David
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