From: ts Date: 2004-08-27T23:05:59+09:00 Subject: Re: Splitting an Array >>>>> "J" == James Edward Gray writes: J> I have and Array and I need to iterate over it, finding a subset of the J> elements it contains. I want that subset in a new Array and I want the J> original Array altered so it no longer contains the subset. You can also use Enum#partition a, b = a.partition { |e| e <= 1} Guy Decoux