I'm using the switch statement and was wondering how to ignore cases when using the switch statement.
You could convert the string you're checking to lowercase and switch on that:
switch (myString.toLowerCase()) {
case "something":
doSomething();
break;
case "something else":
doSomethingElse();
break;
default
etc();
}