From: "Peña, Botp" Date: 2008-05-14T10:21:03+09:00 Subject: Re: Convert integer to array? From: David A. Black [mailto:dblack@rubypal.com] # I still like scanf :-) indeed. i also like the scan+map since i don't need the formatting (and the require ;-) 001:0> "1234".scan(/\d/).map(&:to_i) => [1, 2, 3, 4] kind regards -botp