4 lines
178 B
Objective-C
4 lines
178 B
Objective-C
NSString *text = @"Hello,How,Are,You,Today";
|
|
NSArray *tokens = [text componentsSeparatedByString:@","];
|
|
NSString *result = [tokens componentsJoinedByString:@"."];
|
|
NSLog(result);
|