My question is similar to How do I check if a string contains another string in Objective-C?
How can I check if a string (NSString) contains another smaller string but w
NSString *string = @"hello BLA"; if ([string rangeOfString:@"bla" options:NSCaseInsensitiveSearch].location == NSNotFound) { NSLog(@"string does not contain bla"); } else { NSLog(@"string contains bla!"); }