Hit upon this late yet still want to share a different way of doing

forall a [ if find next a first a [append b:[] first a]]
unique b


that's it.
-
Z. Yao=20
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf =
Of David
Sent: 2005=C4=EA7=D4=C25=C8=D5 10:46
To: [EMAIL PROTECTED]
Subject: [REBOL] Extracting a series of duplicates

I can't seem to find the right combination of functions to do this: =
Create a series containing the values that are repeated in another =
series. For example, if the first series is [1 2 2 3 4 5 5 5 6], the new =
series should be [2 5]. Any hints or solutions are appreciated.
--=20
To unsubscribe from the list, just send an email to=20
lists at rebol.com with unsubscribe as the subject.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to