Forum archive 2000-2006

Michael Gage - uniq

Michael Gage - uniq

by Arnold Pizer -
Number of replies: 0
inactiveTopicuniq topic started 11/16/2002; 7:30:13 AM
last post 11/16/2002; 7:30:13 AM
userMichael Gage - uniq  blueArrow
11/16/2002; 7:30:13 AM (reads: 1644, responses: 0)

Description

Eliminates duplicates in a list

Syntax

uniq(@list)

Params

@list is the list to be sorted.

Returns

Returns list of elements in @list, ignoring duplicates. The order is unspecified.

Examples

join(" ",uniq(23,11,2,5,10,11)); returns " 23 2 10 5 11"

See Also

lex_sort
num_sort
PGsort

Macro Definition File

PGbasicmacros.pl

 

<| Post or View Comments |>