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

相关文章:

  • 2022-12-23
  • 2022-02-10
  • 2021-12-07
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
猜你喜欢
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
  • 2022-12-23
  • 2022-02-14
  • 2021-09-03
相关资源
相似解决方案