"yyyy-MM-dd-hh-mm-ss".replace("-","/") var xinzi = $("#xinzi").val(); xinzi = xinzi.replace(",",",")
替换全部空格,适用 于小程序和js代码
var str0 = arr[0].replace(/\s+/g,"");
站长微信:xiaomao0055
站长QQ:14496453