As you said, rangeOfString works just fine.
NSString* sentence = @"Male, Female";
if ([sentence rangeOfString:@"Male"].location != NSNotFound)
{
NSLog(@"Male is found");
}
if ([sentence rangeOfString:@"Female"].location != NSNotFound)
{
NSLog(@"Female is found");
}