摘要: //去除字符串头尾空格或指定字符String.prototype.Trim= function(c){ if(c==null||c=="") { var str= this.replace(/^/s*/, ''); var rg = //s/; var i = str.length; while ( 阅读全文
posted @ 2016-05-23 09:41 DinnisZhang 阅读(534) 评论(0) 推荐(0)