Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSString *special = @"͜";
- NSArray *wrong = [[@"0;" stringByAppendingString:special] componentsSeparatedByString:@";"];
- NSArray *right = [[@"0;" stringByAppendingString:special] componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@";"]];
- NSLog(@"%@", wrong);
- NSLog(@"%@", right);
Add Comment
Please, Sign In to add comment