Re: Eliminating duplicate items from a list
Re: Eliminating duplicate items from a list
- Subject: Re: Eliminating duplicate items from a list
- From: Joe Stern <email@hidden>
- Date: Wed, 05 Sep 2007 22:00:52 -0400
- Thread-topic: Eliminating duplicate items from a list
Title: Re: Eliminating duplicate items from a list
Found this link to a site that has various code segments:
http://www.jonn8.com/html/misc.html
Check about halfway down the page.
Joe Stern
Atlanta, GA
On 9/4/07 8:00 PM, "Mark Alldritt" <email@hidden> wrote:
> Hi,
>
>> In Lotus Programming I can wrap a list in an @Unique(List variable)
>> command and it strips out all duplicate items. What is the simplest way to
>> do it in AS?
>>
>> I'm thinking it may have to be with a repeat and using text item
>> delimiters, right?
>
> This can be done using my free Record & List tools scripting addition:
>
> http://www.latenightsw.com/freeware/RecordTools/index.html
>
> Here's an example:
>
> set a to {1, 3, 4, 3, 5, 4}
> union of a and a with removing duplicates
> --> {1, 3, 4, 5}
>
> Cheers
> -Mark
>
> ------------------------------------------------------------------------
> Mark Alldritt Late Night Software Ltd.
> Phone: 250-380-1725 Script Debugger 4.0 - AppleScript IDE
> WEB: http://www.latenightsw.com/ FaceSpan 4.3 - AppleScript RAD
> Affrus 1.0 - Perl Debugging
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden