On 12.05.2008 10:36, Nadim Kobeissi wrote:
> 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.

x.scan /\d/

	robert