From: Lyndon Samson Date: 2005-10-17T10:38:38+09:00 Subject: Re: How to get non-unique elements from an array? ------=_Part_16516_23987217.1129513116683 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Not very elegant, but a different approach... bn =3D bn2 =3D 0 a.each {|el|(bn2 |=3D (1<