ios - how to save array into a string in iphone? -


i know how save array in string in iphone (objective-c). have array data

array[0] = 01 array[1] = 02 array[2] = 03 array[3] = 04

and want save in string this

nsstring *string = @"01, 02, 03, 04"; 

if have idea please me new in field.

thanx in advance.

[myarray componentsjoinedbystring: @", "] should it.


Comments