Trim a string in Javascript. By admin | March 29, 2012 0 Comment Below is a simple function to implement this.