If string1 is a literal, you can do this:
(string2.search(/string1/)==-1)
Otherwise...
(string2.search(new RegExp(string1))==-1)
Ok, so it is a literal, and if string2 is part of an object, the same applies right?
I should be able to do...
if(ojb.string2.search(/string1/)==-1
That would be if string1 is NOT found right?
What are the //'s for? Are they saying that string1 is literal?
---
þ Synchronet þ Shadow River - shadowriver.homeip.net