[REBOL] Re: Exclude Problems
From: learned:talentsinc at: 26-Sep-2001 17:08
I thought that too, which is why I reduced it down to excluding just one
item, SYSTEM, and it still took out words like SEAGATE and strings like
----
. Is a puzzlement.
--On Wednesday, September 26, 2001 3:54 PM -0600 Gregg Irwin
<[greggirwin--starband--net]> wrote:
> 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
>
> --
> To unsubscribe from this list, please send an email to
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
---
G. Edw. Learned - [learned--talentsinc--net]
(Never apply a Star Trek Solution to a Babylon Five Problem)