This function takes a list and will remove all the duplicate values.
Contents |
ListRemoveDuplicates( list, [delimiter] )
This function returns the newly created list without any duplicates
<cfset myList = "a,b,b,c,c,c,c,d,e,f,f"> <cfset myList = ListRemoveDuplicates( myList )> /* returns: "a,b,c,d,e,f" */
This function assumes whitespace to a character, so "a " is not the same as "a"