js去掉所有空格

  function removeAllSpace(str) {
     return str.replace(/\s+/g, "");
    }

posted @ 2018-11-14 11:28  代码收集-ASP。JS代码  阅读(189)  评论(0)    收藏  举报