People Lack Willpower,Rather Than Strength! 1.NSString Class introduction length VS strlen length:OC 计算字符串方法, 计算的是字符个数(无论中英文) strlen:C 中计算字符串函数,计算的是英文字符个数! 64bits下中文占3个字符. 2.文档阅读!!!