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