From: Joshua Muheim Date: 2007-11-23T21:25:48+09:00 Subject: Two arrays: return only values that exist in both arrays? Hi all a = [:one, :two, :three, :six] b = [:two, :four, :five: six] I want to extract the values of two arrays which exist in both ones (a and b): # => [:two, :six] Does there exist a method for this? Thanks Josh -- Posted via http://www.ruby-forum.com/.