不要再傻傻地用for循环拼或者拆分了
数组转字符串:array.componentsJoinedByString
字符串转数组:string.componentsSeperatedByString
更新一下:
更新到swift3.0以后,componentsJoinedByString
简化为joined(separator:)
不要再傻傻地用for循环拼或者拆分了
数组转字符串:array.componentsJoinedByString
字符串转数组:string.componentsSeperatedByString
更新到swift3.0以后,componentsJoinedByString
简化为joined(separator:)