字符串、数组之间的相互转换

array.join(',') //数组转换成字符串,以逗号分隔
array.split(',') //字符串以逗号分隔成数组
 
posted @ 2021-08-10 11:21  #yuhoo  阅读(59)  评论(0)    收藏  举报