Objective-C (cocoa)等同于Python的endswith/beginswith

19 浏览
0 Comments

Objective-C (cocoa)等同于Python的endswith/beginswith

Python有string.startswith()string.endswith()函数,这些函数非常有用。

我可以使用哪些NSString方法来实现相同的功能呢?

0