js去除空格,js中去除所有空格

方法 function strTrim(str){ str = str.replace(/(^\s*)|(\s*$)/g, ""); return str;}... [阅读全文]
1 共1条 分1页