tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 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