From: Logan Capaldo Date: 2006-02-09T11:43:19+09:00 Subject: Re: Formatting Numbers On Feb 8, 2006, at 9:27 PM, David Vallner wrote: > > Now if only we directly had a method to slice an Array into an > Array of > slices, the whole thing could turn into a one-liner. Which I hate, > but in a > good way. > > David Vallner > str.split(//).reverse.to_enum(:each_slice,3).to_a