J
Joshua Muheim
Hi all
a = [ne, :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
a = [ne, :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