[ios2]componentsSeparatedByCharactersInSet使用方法
NSString*str =@"A~B^C";
NSArray*arr =[str componentsSeparatedByCharactersInSet:
[NSCharacterSet characterSetWithCharactersInString:@"^~"]];
NSLog(@"%@", arr);
NSString*str =@"A~B^C";
NSArray*arr =[str componentsSeparatedByCharactersInSet:
[NSCharacterSet characterSetWithCharactersInString:@"^~"]];
NSLog(@"%@", arr);