I have an NSString and am attempting to find the first location of either of three strings @"aaa" and @"bbb" and @"ccc".
range = [text rangeOfString:@"aaa" options:NSCaseInsensitiveSearch range:NSMakeRange(rangeStart, rangeLength)];
Is there any simple way to add a logical operator (or) to the rangeOfString: method? I tried rangeOfString:(@"aaa" || @"bbb" || @"ccc") but it threw an exception. Or is there a simple workaround. Thanks.