//数组转为字符串
a = new Array(a,b,c,d,e);
b = a.join('-'); //a-b-c-d-e
//字符串转数组
a = 'a,b,c,d,e';
b = a.split(','); // Array(a,b,c,d,e)
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!