摘要:
String.prototype.trim = function (char, type) { if (char) { if (type == 'left') { return this.replace(new RegExp('^\\'+char+'+', 'g'), ''); } else if (type == 'right') { return ... 阅读全文
posted @ 2017-12-22 10:56
jevan
阅读(3712)
评论(0)
推荐(0)

浙公网安备 33010602011771号