Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Deleting duplicates from a list

  • To: mathgroup at
  • Subject: [mg76025] Re: [mg75940] Deleting duplicates from a list
  • From: "Patrick Scheibe" <mai99dnn at>
  • Date: Tue, 15 May 2007 04:46:26 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <>


if you don't care about the order in your list, then you can use

Union[{8, 8, 11, 11, 19}]

and you will get an ordered List where all dublicates are removed.


Am 14.05.2007, 09:25 Uhr, schrieb Raul Martinez <raulmart at>:

> Hi all,
> I have a list, e.g., {8, 8, 11, 11, 19}. I want to eliminate all
> duplicates so the list becomes {8, 11, 19}. Can anyone suggest a
> command that will do this?
> TIA,
> Raul Martinez

Erstellt mit Operas revolutionärem E-Mail-Modul:

  • Prev by Date: Re: Units package in v6
  • Next by Date: Re: Compatibility woes
  • Previous by thread: Re: Re: Deleting duplicates from a list
  • Next by thread: Re: Deleting duplicates from a list