相关文章推荐

方法:

MySQL 数组 mysql 数组转字符串_分隔符

1.数组转换为字符串

var arr = [1, 2, 3]
    console.log(arr.toString());

2.join('分隔符')

// join('分隔符')
    var arr = ['green', 'blue', 'pink']
    console.log(arr.join('-'));
    // 或者
    console.log(arr.join('&'));

// hello world, the web server func HelloServer(w http.ResponseWriter, req *http.Request) { io.WriteString(w, "hello, wo

 
推荐文章