From: Marcin Tyman Date: 2007-07-25T18:49:19+09:00 Subject: Re: Formatting text. Robert Klemme wrote: > 2007/7/25, Marcin Tyman : >> 100 >> 1 >> 10 >> 1100 >> >> Any help would be helpful (as always ;-) ) > > Please look for printf, sprintf and % in the docs. The last one might > be hard to find. You use it as: "%3d" % 1 > > Kind regards > > robert OK, Fine. But... I want to format the string not its output to redirect the string to a file on remote machine (the file should be formatted). -- Posted via http://www.ruby-forum.com/.