摘要:
转载: https://www.jb51.net/article/109522.htm 1、 去掉字符串前后所有空格: 代码如下: ? 1 2 3 4 function Trim(str) { return str.replace(/(^\s*)|(\s*$)/g, ""); } ? 1 2 3 4 阅读全文
posted @ 2018-08-03 10:50
ConfidentLiu
阅读(578)
评论(0)
推荐(0)

浙公网安备 33010602011771号