PDA

View Full Version : .search in Opera 4


piz
12-07-2002, 02:16 PM
Hi,

Is there any way to replace the RegExp-Function string.search to see if a string contains a searched string?

In Opera 4 it doesn't work.

Thx.

Greetz, piz.

joh6nn
12-08-2002, 01:52 AM
indexOf() is another way to do it, but frankly, i don't think anything's going to work in Opera 4. i don't think anyone is using Opera 4, either.

cg9com
12-08-2002, 03:26 AM
i agree with joh6nn
the people who download opera are the type of users who know what is going on at least a little bit (otherwise they would just use whatever browser came with there computer)
in which case they would want there version to be up to date
(at least i would and im sure many would agree)
7.0 beta is out

piz
12-08-2002, 11:30 AM
Thx.

Yes, i agree, too. I know that no one uses Opera 4, but i wanted to make a skript to recognize so much Browser as possible. Just for fun.

Thank you, i'll try it with IndexOf.

Saludo, piz