MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: how to delete duplicate items in the same list


On 1/10/04 at 12:00 AM, hxs61 at case.edu (Sabrina) wrote:

> I can't find a way to make sure all items in the same list are unique. Can
> anybody help me out? 

One way to do this would be

uniqueQ[x_List]:=Sort[x]==Union[x]
--
To reply via email subtract one hundred and four


  • Prev by Date: Many Functions Into One
  • Next by Date: Re: how to delete duplicate items in the same list
  • Previous by thread: how to delete duplicate items in the same list
  • Next by thread: Re: how to delete duplicate items in the same list