From: "Iñaki Baz Castillo" Date: 2011-03-04T00:10:15+09:00 Subject: Re: Extracting the shortest string from an array 2011/3/3 Paul McKibbin : > Hi, > > You could use > > array.min {|x,y| x.size <=> y.size} > > to force a min to use sizes rather then their natural order Thanks to all :) -- Iñaki Baz Castillo