NSString *string = @"hello world - 1234ABCdefg";
if ([string rangeOfString:@"ABC"].location == NSNotFound) {
//if ([string rangeOfString:@"abc" options:NSCaseInsensitiveSearch].location == NSNotFound) {
NSLog(@"string does not contain ABC");
} else {
NSLog(@"string contains ABC");
}