On 5/23/06, Vlad GALU <vladgalu / gmail.com> 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