From: Tim Becker Date: 2006-05-23T23:27:54+09:00 Subject: Re: Format strings ? On 5/23/06, Vlad GALU wrote: > Having an int object, let's say the value is 2, I'd like to print > it out as "0002". I miss C's format strings. printf "%04d", 2 Ruby has format strings! -tim