NSString *str=@"looking for her";
NSRange range = [str rangeOfString:@"her"];
if (range.location!=NSNotFound) {
NSLog(@"Yes");
}else {
NSLog(@"NO");
}
NSRange range = [str rangeOfString:@"her"];
if (range.location!=NSNotFound) {
NSLog(@"Yes");
}else {
NSLog(@"NO");
}