Trim string in JavaScript? - Stack Overflow
How do I trim a string in JavaScript? ... Here is my personal one. This code is old! I wrote it for JavaScript1.1 and Netscape 3 and it has been only slightly updated since. (Original used String.charAt)
stackoverflow.com |