js去掉所有空格
? function removeAllSpace(str) {
?????return str.replace(/\s+/g, "");
????}
轉載于:https://www.cnblogs.com/keringing/p/9957042.html
總結
- 上一篇: Java包的命名规范
- 下一篇: 师曾文正
? function removeAllSpace(str) {
?????return str.replace(/\s+/g, "");
????}
轉載于:https://www.cnblogs.com/keringing/p/9957042.html