整型数组转字符串

126 阅读1分钟
let str = [1, 2, 3, 4].map{String($0)}.joined(separator: ",")