ios开发之--NSString和NSArray互转
将string字符串转换为array数组
NSArray *array = [Str componentsSeparatedByString:@","];//分隔符逗号
将array数组转换为string字符串
NSString *tempString = [mutableArray componentsJoinedByString:@","];//分隔符逗号
本文来自博客园,作者:稻草人11223,转载请注明原文链接:https://www.cnblogs.com/hero11223/p/7567003.html