摘要:
字符串函数扩充 //******************************************//去除左边的空格String.prototype.LTrim = function(){ return this.replace(/(^\s*)/g, "");}//******************************************// 去除右边的空格String.prototype.Rtrim = function(){ return this.replace(/(\s*$)/g, "");}//***************** 阅读全文
posted @ 2011-05-03 22:21
呆木头007
阅读(242)
评论(3)
推荐(0)
2011年5月3日