去除空格

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

posted on 2014-12-18 09:38  7月前减到115斤  阅读(166)  评论(0)    收藏  举报