split-unique: func [block [any-block!] /local uniq dupe dest] [
uniq: copy []
dupe: copy []
foreach item block [
dest: either find/only uniq item [dupe] [uniq]
append/only dest item
]
reduce [uniq dupe]
]
You need to create an account or log in to post comments to this site.