摘要: function trim(str){ str = str.replace(/^\s+/,""); str = str.replace(/\s+$/,""); return str; } 阅读全文
posted @ 2017-07-09 22:00 YiRan2011 阅读(618) 评论(0) 推荐(0) 编辑