Node.js examples for String:Strip
Remove Letter from String from start by length
String.prototype.remove = function( start, length ) { var s = '' ; if ( start > 0 ) s = this.substring( 0, start ) ;// ww w .j a va 2s . co m if ( start + length < this.length ) s += this.substring( start + length , this.length ) ; return s ; }