将string字符串转换为array数组
NSArray *array = [Str componentsSeparatedByString:@","];//分隔符逗号
将array数组转换为string字符串
NSString *tempString = [mutableArray componentsJoinedByString:@","];//分隔符逗号
将string字符串转换为array数组
NSArray *array = [Str componentsSeparatedByString:@","];//分隔符逗号
将array数组转换为string字符串
NSString *tempString = [mutableArray componentsJoinedByString:@","];//分隔符逗号
本文标题:string根据字符转NSArray
本文链接:https://www.haomeiwen.com/subject/fivhrxtx.html
网友评论