Jump to content

Tokenize a string: Difference between revisions

added objective c
m (→‎{{header|Ada}}: Case problem again)
(added objective c)
Line 335:
)
format "%\n" output
 
=={{header|Objective-C}}==
<lang objc>NSString *text = @"Hello,How,Are,You,Today";
NSArray *tokens = [text componentsSeparatedByString:@","];
NSString *result = [tokens componentsJoinedByString:@"."];
NSLog(result);</lang>
 
=={{header|OCaml}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.