if(stringName.charAt(0) != 'Q' || stringName.charAt(0) != 'W' || stringName.charAt(0) != 'E'){
SetID = "Yes";
}
The above code when I use alert to popup the windows the value of My.String.charAt(0) is returning the correct value but I don't know why it goes inside the if statement and change the value of SetID to Yes
I'm trying to figure out what is wrong with it and really can't see anything
SetID is initialize to No
stringName.charAt(0)in a variable and use that instead of doing the look up multiple times.