日期:2014-05-16  浏览次数:20307 次

Js String 属性扩展

String.prototype.LTrim = function()
{
?????????return this.replace(/(^s*)/g, "");
}

String.prototype.Rtrim = function()
{
?????????return this.replace(/(s*$)/g, "");
}

String.prototype.Trim = function()
{