tracker issue : CF-3042164

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 84165:(Watson Migration Closure)Add function listRemoveDuplicates() to make elements inside a list uniqueIt would be nice to have a function, which removes double elements from a list

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Sebastian Zartner / Sebastian Zartner (Sebastian Zartner)

Created: 09/14/2010

Components: Language, Functions

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

Add function listRemoveDuplicates() to make elements inside a list uniqueIt would be nice to have a function, which removes double elements from a list.The syntax would thereby be:listRemoveDuplicates(list [, delimiters])
Method:

<cfset list = "paul,brian,jane,paul,mary,mary,steven,brian"><cfset uniqueList = listRemoveDuplicates(list)> <!--- "uniqueList" now contains "paul,brian,jane,mary,steven" --->
Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3042164

External Customer Info:
External Company:  
External Customer Name: Sebastian Zartner
External Customer Email: 4E7365D64550DB12992015D5
External Test Config: 09/14/2010

Attachments:

Comments: