当前位置:主页 > 网页前端 > JavaScript代码 >
时间:2021-02-10 14:50:43 | 栏目:JavaScript代码 | 点击:次
String.prototype.LTrim = function () { return this.replace(/(^\s*)/g, "");}
String.prototype.RTrim = function () { return this.replace(/(\s*$)/g, "");}//#endregion