且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么我的NSRange总是为0?

更新时间:2023-02-19 22:27:42

使用子字符串代替;

更具体地说, substringToIndex(/ * length-1 * /)

检查此参考,如果您需要对字符串进行其他操作

Check this reference out if you need to do other things with strings