i'm trying to compare a strings character with several characters and if it is not equal to any of them then throw an exception. The code I tried using was:
if (hexString[i] != 'A' || 'B' || 'C' || 'D' || 'E' || 'F') (didnt work of course)
i'm trying to avoid having to do:
if(hexString[i] != 'A' && hexString[i] != 'B' && etc...