I have following code that determines the user’s language.
if (locale.equalsIgnoreCase("eng")) {
....
} else {
....
}
I want to add “or”. For example:
if (locale.equalsIgnoreCase("eng" OR "fra")) {
....
Syntax is incorrect because I don’t know how to do that. Help, please.
Thank you all for the quick answers.
1 Answer