From: cjon@... (Cullen J O'neill) Date: 2000-12-02T07:10:02+09:00 Subject: [ruby-talk:6721] Re: Best way to convert a string to an array of numbers? Steve Coltrin (spcoltri@hrothgar.omcl.org) wrote: : "Hee-Sob Park" writes: : > How about : > : > a = s.split.collect {|x| eval x} Yeah, this is much better. Thanks! : Only if you can be sure s is not "2 3 3.5 exit 1.2" :) Oh, I think can be pretty sure of that... -- Cullen J O'Neill -- cjon@engin.umich.edu