From: Kaldrenon Date: 2007-07-25T22:05:06+09:00 Subject: Re: Formatting text. On Jul 25, 5:54 am, Sebastian Hungerecker wrote: > sprintf and % return a string, they don't print anything to the screen. You > can write the result of "%3d" % 1 to a file without a problem. Same is true for rjust() : http://www.whytheluckystiff.net/ruby/pickaxe/html/ref_c_string.html#String.rjust