Link to home
Start Free TrialLog in
Avatar of amoran
amoran

asked on

instr - crash?

Hi

I do

response.write "if clause - " & instr(strRedirectTo, "SubmitReturnMenu.asp", 1) & "<br>"


and i get

Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: '[string: "SubmitReturnMenu.asp"]'

any ideas?

it was working until i added the
 , 1
which i thought would ignore case?
ASKER CERTIFIED SOLUTION
Avatar of hongjun
hongjun
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amoran
amoran

ASKER

thanks