Tokenize a string: Difference between revisions

m
(added objective c)
Line 337:
 
=={{header|Objective-C}}==
 
{{works with|GNUstep}}
{{works with|Cocoa}}
 
<lang objc>NSString *text = @"Hello,How,Are,You,Today";
NSArray *tokens = [text componentsSeparatedByString:@","];