04-21-2011, 03:02 PM
Want to check whether following string exists in the existing string or not:-
Am getting failure.
I have used escape character like as below as well
Still failure.
Any help will be appreciated.
Code:
str1 = "(%,&,_,?,#,=,-) :"
str2 = "abcd(%,&,_,?,#,=,-) :xwyz"
comparestr = instr(str2 ,str1)
Am getting failure.
I have used escape character like as below as well
Code:
str1 = "\(\%,\&,_,\?,#,=,-\) :"
Still failure.
Any help will be appreciated.