T
Trev
Hi everyone,
I've got a very simple piece of code, and it doesn't work. I'm stumped!
var pattern1="arthur/i";
var stringtosearch = "ARTHUR and GEORGE's guest house";
pattern1.test(stringtosearch);
This should return true, but it returns false! Can anyone see what is
wrong?
TIA
Trev
I've got a very simple piece of code, and it doesn't work. I'm stumped!
var pattern1="arthur/i";
var stringtosearch = "ARTHUR and GEORGE's guest house";
pattern1.test(stringtosearch);
This should return true, but it returns false! Can anyone see what is
wrong?
TIA
Trev