ibob on 02/07/13
Last Edited at 02/07/13 05:15am
NSArray* explode(NSString *separator, NSString *text){ return [text componentsSeparatedByString:separator];} //Example NSArray *arr = explode( @", " , @"One, Two, Three"); //Result: ["One", "Two", "Three"]
Report this snippet Tweet
Comment:
You need to login to post a comment.