1.将字符串数组,拼接成一个字符串
//中间以逗号隔开
NSString *departmentIdArrayStr = [arrM componentsJoinedByString:@","];
 
2.将字符串转换为数组
//以逗号为分隔标志
NSArray  *array = [@"" componentsSeparatedByString:@","];

 

版权声明:本文为cchHers原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/cchHers/p/8712277.html