Node.js examples for String:Trim
Left trim a string using regex
String.prototype.ltrim = function() { return this.replace( /^\s*/g, '' ) ; }