Answers for "how to transfor a array to a string in swift"

2

swift array to string

let stringArray = ["Bob", "Dan", "Bryan"]
let string = stringArray.joined(separator: "")

print(string) // prints: "BobDanBryan"
Posted by: Guest on February-03-2020

Code answers related to "how to transfor a array to a string in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language