將string字符串轉(zhuǎn)換為array數(shù)組
NSArray? *array = [Str componentsSeparatedByString:@","];
==反向方法
將array數(shù)組轉(zhuǎn)換為string字符串
NSString *tempString = [mutableArray componentsJoinedByString:@","];--分隔符
將string字符串轉(zhuǎn)換為array數(shù)組
NSArray? *array = [Str componentsSeparatedByString:@","];
==反向方法
將array數(shù)組轉(zhuǎn)換為string字符串
NSString *tempString = [mutableArray componentsJoinedByString:@","];--分隔符