From: "SHIGETOMI, Takuhiko" Date: 2005-08-29T11:20:21+09:00 Subject: Re: [Q] how to unflatten a flat-array greetings, Hal. gratitude to you. > arr = array.dup > result = [] > while ! arr.empty? > result << arr.slice!(0..1) > end looks like nice to me. please let me exec it and repot the result to you later. (sorry, i am now screwed up in my business.) -- SHIGETOMI,Takuhiko tshiget1@gw.nsw.co.jp /void/3d/universe/milkyway-galaxy/orion's-arm/sol-solar-system/3rd-planet/fareast/jp/tky/ resistance is futile.