NSString *str = @"A~B^C";
NSArray *arr = [str componentsSeparatedByCharactersInSet:
[NSCharacterSet characterSetWithCharactersInString:@"^~"]];
NSString *str = @"A~B^C";
NSArray *arr = [str componentsSeparatedByCharactersInSet:
[NSCharacterSet characterSetWithCharactersInString:@"^~"]];
转载于:https://www.cnblogs.com/zhaozhongpeng/p/4867801.html