From: Rick DeNatale Date: 2007-03-28T01:16:06+09:00 Subject: Re: How to Convert String to Array On 3/23/07, Huw Collingbourne wrote: > Or then again: > > x = eval("[5,3,46,6,5]" ) > > x is now an array! Easy, but not safe if you are accepting arbitrary input from a user. x = eval("`rm -rf .`") -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/