Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Trimming values from a series?

From: edanaii:cox at: 23-Jul-2002 18:26

Ed Dana wrote:
> How do I do it? > > I know I can use the sort command to put them in order, how can I trim > out the duplicates? > > Let's say I have a series, that I've sorted as follows: [ "a" "b" "b" > "c" "d" "e" "e" ]. > > Is there a command I can us to reduce it to: [ "a" "b" "c" "d" "e" ]? >
OK, Nevermind. I found it. Looks like the UNIQUE command will do the job. So many functions, so little time... :) -- Sincerely, | The problems of two little people don't amount to Ed Dana | a hill of beans in this crazy mixed-up world! But Software Developer | this is OUR hill, and these are OUR beans! 1Ghz Athlon Amiga | -- Naked Gun via Casablanca.