arrayA | arrayB should do the trick

2011/7/19 I=F1aki Baz Castillo <ibc / aliax.net>

> 2011/7/19 I=F1aki Baz Castillo <ibc / aliax.net>:
> > Hi, is there a way to generate a new array with the common elements in
> > array A and arra B? This is:
> >
> >  arrayA =3D ["qqq", "www", "eee"]
> >  arrayB =3D ["www", "eee", "rrr", "ttt"]
> >
> > the result should be:  ["www", "eee"]
>
> Of course I mean a method which perhaps I miss in Array class. If not,
> I can do it manually :)
>
> --
> I=F1aki Baz Castillo
> <ibc / aliax.net>
>
>