Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
REMDUPE(L,S)
|
||||
;L is the input listing
|
||||
;S is the separator between entries
|
||||
;R is the list to be returned
|
||||
NEW Z,I,R
|
||||
FOR I=1:1:$LENGTH(L,S) SET Z($PIECE(L,S,I))=""
|
||||
;Repack for return
|
||||
SET I="",R=""
|
||||
FOR SET I=$O(Z(I)) QUIT:I="" SET R=$SELECT($L(R)=0:I,1:R_S_I)
|
||||
KILL Z,I
|
||||
QUIT R
|
||||
Loading…
Add table
Add a link
Reference in a new issue