Posted By

devnull69 on 07/01/11


Tagged

trim


Versions (?)

Trim


 / Published in: JavaScript
 

  1. function Trim(strValue) {
  2. return strValue.replace(/^\s+|\s+$/g, '');
  3. }

Report this snippet  

You need to login to post a comment.