NSString tokenize in Objective-C

Found answer here:

NSString *string = @"oop:ack:bork:greeble:ponies";
NSArray *chunks = [string componentsSeparatedByString: @":"];

Leave a Comment