ListRemoveDuplicates()
Removes duplicate values from list.
ListRemoveDuplicates( list=string, delimiters=string, ignoreCase=boolean );
Returns: String
Examples
lst = "cat,mouse,dog,cat,cow,goat,sheep,cat,dog";
writeoutput(lst);
writeoutput("<hr>");
// new list with duplicates removed
lst = ListRemoveDuplicates(lst);
writeoutput(lst);
See also
- Lists
- Strings
- string.listRemoveDuplicates()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)