From: ts Date: 2002-09-24T23:38:20+09:00 Subject: Re: select and select >>>>> "N" == Nikodemus Siivola writes: N> Hmm. grab makes me think: why not extend the semantics of grep? N> a = ["foo", "bar", "foobar", "barfoo"] N> a.grep(1,3) # => ["bar", "barfoo"] pigeon% ruby -e 'p [1,3,3].grep(3)' [3, 3] pigeon% #grep use === Guy Decoux