1+2+3:4+5+6:7+8+9
How to delimit if i have two delimiter + and : and i am using array to store
myarray1 = [myarray2开发者_如何转开发 componentsSeparatedByString:@":"]; delimit only :
NSString *myString = @"Foo-bar/blee";
NSArray *myWords = [myString componentsSeparatedByCharactersInSet:
[NSCharacterSet characterSetWithCharactersInString:@"-/"]
];
精彩评论