摘要:
String.prototype.Trim = function() {
return this.replace(/(^\s*)|(\s*$)/g, "");
}
String.prototype.LTrim = function() {
return this.replace(/(^\s*)/g, "");
}
String.prototype.RTrim = function() {
return this.replace(/(\s*$)/g, "");
} 阅读全文
posted @ 2009-08-09 09:53
10cn.net
阅读(241)
评论(0)
推荐(1)

浙公网安备 33010602011771号