ios - Build CSV from Array of Strings in Swift in a single line of code -
i have array of strings in swift , thought do:
array.join(",")
return comma separated list of elements
the error i'm getting is: array<string> not convertible 'string'
how can correctly in little code possible.
i can loop build string thought there simpler way this.
in swift 2,
array.joinwithseparator(",")
Comments
Post a Comment