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

[REBOL] Re: Exclude Problems

From: greggirwin:starband at: 26-Sep-2001 15:54

hi G, I haven't used exclude for anything big, but simple tests work. Maybe it's something specific in your data?
>> exclude [1 2 3 4 5 6 7 8 9 0] [3 5]
== [1 2 4 6 7 8 9 0]
>> exclude ["A" "B" "C" "D" "E" "F" "G"] ["C" "F"]
== ["A" "B" "D" "E" "G"]
>> exclude ["AA" "AB" "AC" "AD" "AE" "AF" "AG"] ["AC" "AF"]
== ["AA" "AB" "AD" "AE" "AG"]
>> exclude ["AA" "AB" "AC" "AD" "AE" "AF" "AG"] ["A" "AF"]
== ["AA" "AB" "AC" "AD" "AE" "AG"] --Gregg