//去除空格 function Trime(string){ return string.replace(/\s/ig,""); }
js去除字符串中的空格
原文:https://www.cnblogs.com/yinyl/p/9083779.html