Sorry for the title. Feel free to edit it to anything more clear.
I have a string and I have to check that the first char of this string is equal to at least one between other given char, for example B, Z and K (in my case I've about 10 char to check and they are not classifiable as a range).
I'm doing the check as follows.
if (string[0] == 'Z' || string[0] == 'K' || string[0] == 'B') {
/* do something... */
}
Is there any easier way to do it?