Can anyone point me to any resources about case insensitive comparison in Objective C? It doesn't seem to have an equivalent method to str1.equalsIgnoreCase(str2)
str1.equalsIgnoreCase(str2)
if( [@"Some String" caseInsensitiveCompare:@"some string"] == NSOrderedSame ) { // strings are equal except for possibly case }
The documentation is located at Search and Comparison Methods
1.4m articles
1.4m replys
5 comments
57.0k users