• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Removing dupes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Removing dupes (From: Graff <email@hidden>)

  • Prev by Date: select folder command in PowerMail
  • Next by Date: Re: Removing dupes
  • Previous by thread: Re: Removing dupes
  • Next by thread: Re: Removing dupes
  • Index(es):
    • Date
    • Thread