Javascript String padEnd( len, pad='\x20' )
String.prototype.padEnd = function ( len, pad='\x20' ) { //Pads the string object with the given character to the target length return this.length < len ? ( this + pad ).padEnd( len, pad ) : this.valueOf() }