Last Updated: July 25, 2019
·
1.2K
· novalagung

iOS - Imploding array to string

NSArray  *array = [NSArray arrayWithObjects:@"he", @"ate", @"my food"];
NSString *joinedString = [array componentsJoinedByString:@" "];