D
Dan Diebolt
--0-882415816-1134429946=:10511
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I have a large amount of text pairs (no spaces inthe text) that I need to=
turn into a hash. Is there a shorcut that will allow me to create the ha=
sh without entering the quotes and arrows?
=20
%w(apple bananna orange grape)
=3D> ["apple", "bananna", "orange", "grape"]
=20
Hash["apple","bananna","orange","grape"]
=3D>{"apple"=3D>"bananna", "orange"=3D>"grape"}
=20
Thanks!
=20
=09
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
I have a large amount of text pairs (no spaces inthe text) that I need to=
turn into a hash. Is there a shorcut that will allow me to create the ha=
sh without entering the quotes and arrows?
=20
%w(apple bananna orange grape)
=3D> ["apple", "bananna", "orange", "grape"]
=20
Hash["apple","bananna","orange","grape"]
=3D>{"apple"=3D>"bananna", "orange"=3D>"grape"}
=20
Thanks!
=20
=09