Page 1 of 1
Removing Duplicates
Posted: Sun Oct 06, 2013 4:50 pm
by andrewferguson
Hello,
I have a variable with about 1420 lines of text in it. Just under half are duplicates.
How do I remove the duplicated lines?
Thanks,
Andrew
Re: Removing Duplicates
Posted: Sun Oct 06, 2013 5:37 pm
by [-hh]
..........
Re: Removing Duplicates
Posted: Sun Oct 06, 2013 6:46 pm
by andrewferguson
Hi,
Thanks [-hh]!
That works amazingly well!
Andrew
Re: Removing Duplicates
Posted: Sun Oct 06, 2013 7:12 pm
by [-hh]
..........
Re: Removing Duplicates
Posted: Sun Oct 06, 2013 9:22 pm
by bn
Hi,
I got it under a different topic from 'dunbarx' and 'bn' (they got it from ...)
well, I got it from RunRev:
in Livecode go to
Resources -> Sample Scripts -> Text -> Listing all the unique words in a piece of text (this is a slight variation of getting unique lines)
So thank you RunRev
Kind regards
Bernd