Like operator to determine if alphanumeric
Posted on 2006-10-25
I am writing a condition to determine if a letter in a string is alphanumeric. It seems to be failing.
If Mid(strNew, i, 1) Like ("[A-Z]") Or Mid(strNew, i, 1) Like ("[a-z]") Or Mid(strNew, i, 1) Like ("#") Then
I keep falling into this condition even if the character is "[" or "("
This doesnt seem to be working. Is this the wrong syntax for find alpha numerics in classic ASP?