Get unique strings
lib callCapy
function unique(items : any) any
Description
unique keeps the first copy of each string in a list-shaped any.
The result keeps input order. This function does not change items.
Return Values
This function returns a new list-shaped any.
Example
Capy
var items := split("one,two,one", ",")
print(join(unique(items), ","), "\n")
Output
one,two