function func(mydata,myparam) { var val; if(data.match(param)) { var sindex=data.indexOf(param); -- At this place I am getting the index of MYSTRINGNEW instead of MYSTRING //alert(sindex); } return val; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)