摘要: 字符串函数扩充 //******************************************//去除左边的空格String.prototype.LTrim = function(){ return this.replace(/(^\s*)/g, "");}//******************************************// 去除右边的空格String.prototype.Rtrim = function(){ return this.replace(/(\s*$)/g, "");}//***************** 阅读全文
posted @ 2011-05-04 12:53 cxfzxj9898 阅读(262) 评论(0) 推荐(0)