花费 4 ms
js正则表达式替换空格

str.replace(/^\s+|\s+$/g, '') 解析: str:要替换的字符串 \s : 表示 ...

Wed Sep 21 06:15:00 CST 2016 0 38947

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM