REMDUP

Synopsis
REMDUP things
Description

Outputs a copy of its input with duplicate members removed. If two or more members of the input are equal, the rightmost of those members is the one that remains in the output.

REMDUP throws an error if things is an array.

Example
SHOW REMDUP [a b c c b]
[a c b]
SHOW REMDUP "Hello
Helo

SourceForge.net Logo