[Javascript] Searching text

Andrew Gibson andyg at ihug.co.nz
Sun Mar 18 01:38:53 CST 2001


Are there some good searching methods
in Javascript...

like in ASP I might use
 
 if instr(mytxt,"keyword")>0 then
   '  found a match
 end if

In particular, I wanted to search thru a jscript
array for a match of keywords.

Andrew






More information about the Javascript mailing list