Re: Deleting duplicates from a list
- To: mathgroup at smc.vnet.net
- Subject: [mg76067] Re: Deleting duplicates from a list
- From: Valeri Astanoff <astanoff at gmail.com>
- Date: Tue, 15 May 2007 05:08:03 -0400 (EDT)
- References: <f292sh$m3p$1@smc.vnet.net>
On 14 mai, 09:25, Raul Martinez <raulm... at mac.com> wrote:
> 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
In[1]:=First/@Split[{8,8,11,11,19}]
Out[1]={8,11,19}