I am making a substring comparison and i did it like this
if ([mystring rangeOfString:string options:NSCaseInsensitiveSearch].location == NSNotFound) {
return NO;
} else {
return YES;
}
But this doesn’t work while comparing with Read and READ
Sorry, but your code works for me… If I execute this in XCode:
I get this output: