I'm currently trying to look at the first two characters of a string, and depending on what they are, I want to do something. There are 6 possibilities: AA, BB, CC, AB, BC, CA.
I tried the following but kept getting the following error:

NSString *housing = [myArray firstObject];
switch([housing compare:housing options:@"AA", @"BB", @"CC", @"AB", @"BC", @"CA" range:2]) {
case 0:
break;
case 1:
break;
case 2:
break;
case 3:
break;
case 4:
break;
case 5:
break;
default:
break;
}