<script>

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

</script>

相关文章:

  • 2021-07-20
  • 2022-02-14
  • 2021-08-09
  • 2022-02-11
  • 2021-08-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
  • 2021-11-17
相关资源
相似解决方案