將string字元串轉換為array數組 NSArray *array = [Str componentsSeparatedByString:@","]; ==反向方法 將array數組轉換為string字元串 NSString *tempString = [mutableArray compone ...
將string字元串轉換為array數組
NSArray *array = [Str componentsSeparatedByString:@","];
==反向方法
將array數組轉換為string字元串
NSString *tempString = [mutableArray componentsJoinedByString:@","];--分隔符