On one of our forms we use following:
myfilter = Request.Form("x_name")
myfilter = left(myfilter,5)
select case myfilter
CASE "pharm"
Response.Redirect "TESTERROR.asp"
end select
this works just fine, if word "pharm" is found it redirects user to TESTERROR.asp
But this is case sensitive and for example word "Pharm" will not get caught and it will pass through the form. How would we re-write this to work and not be case sensitive.