//去除字符串头尾空格或指定字符 String.prototype.Trim = function (c) { if (c == null || c == “”) { var str = this.r … 继续阅读 JS中实现Trim(),TrimStart(),TrimEnd() 的方法
//去除字符串头尾空格或指定字符 String.prototype.Trim = function (c) { if (c == null || c == “”) { var str = this.r … 继续阅读 JS中实现Trim(),TrimStart(),TrimEnd() 的方法