caseInsensitiveCompare

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了caseInsensitiveCompare相关的知识,希望对你有一定的参考价值。

BOOL result1 = [err caseInsensitiveCompare:@"7B"]==NSOrderedSame;// 不区分大小写比较

Returns the result of invoking compare:options: with NSCaseInsensitiveSearch as the only option.

This method is the equivalent of invoking compare:options:with NSCaseInsensitiveSearchas the only option.

以上是关于caseInsensitiveCompare的主要内容,如果未能解决你的问题,请参考以下文章

caseInsensitiveCompare

[__NSDate caseInsensitiveCompare:]:无法识别的选择器发送到实例

Android Adapter代码片

Objective-C 排序字符串日期数组

代码片|水波纹

代码片--练习匿名内部类