From: Harry Kakueki Date: 2007-07-12T18:11:16+09:00 Subject: Re: Stripping columns / puts'ing columns > Does this do what you want? > > arr = [[1,7,3,4],[5,6,7,8],[9,7,3,4]] > new_arr = arr.transpose > > p new_arr.select {|x| x.include?(7)} > The rows need to have the same number of elements. Harry -- A Look into Japanese Ruby List in English http://www.kakueki.com/