导航

2016年11月2日

摘要: 1.去掉字符串前后空格,不会修改原有字符串,返回新串.str.replace(/(^\s*)|(\s*$)/g,''); 阅读全文

posted @ 2016-11-02 09:47 么么虎 阅读(212) 评论(0) 推荐(0)