NSString *searchForMe = @"Hi";
NSRange range = [searchThisString rangeOfString : searchForMe];
if (range.location != NSNotFound)
{
NSLog(@"I found something.");
}
Search Specific word in string
iPhone SDK Tips & Tricks
Labels:
compare,
iphone SDK
Subscribe to:
Posts (Atom)