componentsJoinedByString 和 componentsSeparatedByString 的方法的区别
将string字符串转换为array数组
NSArray *array = [Str componentsSeparatedByString:@","];
==反向方法
将array数组转换为string字符串
NSString *tempString = [mutableArray componentsJoinedByString:@","];--分隔符
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。