IOS字符串按特定字符拆分成数组 博客分类: IOS
程序员文章站
2024-02-04 15:34:58
...
NSString * fruits = @"apple,pair,banana,orange"; NSArray * array= [fruits componentsSeparatedByString:@","];