摘要: 计算NSString的字符长度,用length方法Returns the number of Unicode characters in the receiver,既是英文字符和中文汉字都是一个字符长度,如@“abcde我的”长度为7,而此长度和微博的输入字数实际上是不符的,在微博中,它的长度为5(... 阅读全文
posted @ 2014-10-29 20:58 lxl奋小斗 阅读(1041) 评论(0) 推荐(0) 编辑