📜  nsstring 不区分大小写的比较 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:54.843000             🧑  作者: Mango

代码示例1
if( [@"Some String" caseInsensitiveCompare:@"some string"] == NSOrderedSame ) {
  // strings are equal except for possibly case
}