How to join NSArray elements into an NSString?

Solution 1:

NSArray * stuff = /* ... */;
NSString * combinedStuff = [stuff componentsJoinedByString:@"separator"];

This is the inverse of -[NSString componentsSeparatedByString:].

Solution 2:

-componentsJoinedByString: on NSArray should do the trick.