去除空格

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

posted on 2014-12-18 09:38  福气满满好运连连  阅读(155)  评论(0编辑  收藏  举报