How to convert NSMutableArray to NSString?

I am trying to convert (or copy?) An NSMutableArray to an NSString. I think my problem is that I really don't understand the NSString structure. In my limited knowledge, the line might look like this: on iphone

0
source share
2 answers

take NSMutableStringand add each line of the array to the line

as

string = [string appendString:[NSString stringWithFormat:"%@", [array objectAtIndex:i]]];
+2
source

Try this code: -

 NSString *string = [array componentsJoinedByString:@","];
+57
source

All Articles