Subject: Convert integer to array?
From: Nadim Kobeissi <kaepora@ c o
Date: Mon, 12 May 2008 17:36:54 +0900
Let's say I have:
x=1234
How can I convert that to the follow array:
x=[1, 2, 3, 4]
Any help would be greatly appreciated.
--
Posted via http://www.ruby-forum.com/.