iOS|iOS 数组与字符串的转化(有分隔符)

将string字符串转换为array数组

NSArray*array = [str componentsSeparatedByString:@","];

【iOS|iOS 数组与字符串的转化(有分隔符)】将array数组转换为string字符串
NSString *str = [array componentsJoinedByString:@","];

    推荐阅读