On 05/02/2014 15:06, Mike Kerner wrote: > Alex's idea is also clever, but what if I am trying to repeat another > character, like "#"? > > put replacetext( format("%30s", " "), " ", "x") into myVar (no promises for being the speediest solution - but still one line and no library involved). -- Alex.