05 2011 档案
摘要:字符串函数扩充 //******************************************//去除左边的空格String.prototype.LTrim = function(){ return this.replace(/(^\s*)/g, "");}//******************************************// 去除右边的空格String.prototype.Rtrim = function(){ return this.replace(/(\s*$)/g, "");}//*****************
阅读全文

浙公网安备 33010602011771号