Re: Removing dupes
Re: Removing dupes
- Subject: Re: Removing dupes
- From: Allen Watson <email@hidden>
- Date: Sat, 18 Sep 2004 13:52:04 -0700
Title: Re: Removing dupes
set theList to {"this", "is", "a", "list", "of", "words", "this", "list", "has", "some", "duplicate", "words"}
set uniqueWords to {}
set r to a reference to theList
repeat with a in r
if a is not in uniqueWords then copy a's contents to end of uniqueWords
end repeat
uniqueWords
{
"this",
"is",
"a",
"list",
"of",
"words",
"has",
"some",
"duplicate"
}
On 9/18/04 11:58 AM, "Graff" <email@hidden> wrote:
> On Sep 18, 2004, at 11:31 AM, Bernard Azancot wrote:
>
>> I a looking of a classical simple routine to find +/- remove dupes in
>> a text list.
>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden