去除空格

String.prototype.Trim = function () {
return this.replace(/(^\s*)|(\s*$)/g, "");
}

posted on 2014-12-18 09:38  6月减到100斤  阅读(172)  评论(0)    收藏  举报