NSString *string = @"how to cheque if a string contains about other string";
if ([string rangeOfString:@"how"].location == NSNotFound) { NSLog(@"Not found"); } else { NSLog(@"Found"); }
NgeBlog Now, discussing blogging tutorials daan give tips tricks anywhere else around the world of the internet.
if ([string rangeOfString:@"how"].location == NSNotFound) { NSLog(@"Not found"); } else { NSLog(@"Found"); }
0 komentar:
Please comment if there are any that need to be asked.