// 出自网络
String.prototype.Trim = function()
{
return this.replace(/(^/s*)|(/s*$)/g, "");
}
{
return this.replace(/(^/s*)|(/s*$)/g, "");
}
String.prototype.LTrim = function()
{
return this.replace(/(^/s*)/g, "");
}
{
return this.replace(/(^/s*)/g, "");
}
String.prototype.RTrim = function()
{
return this.replace(/(/s*$)/g, "");
}
{
return this.replace(/(/s*$)/g, "");
}
1248

被折叠的 条评论
为什么被折叠?



