tracker issue : CF-3042264

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

Bug 84399:(Watson Migration Closure)List functions should allow arrays of delimitersCurrently list functions just allow strings as delimiters

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

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

Created: 09/27/2010

Components: Language, Functions

Versions: 9.0.1

Failure Type: Unspecified

Found In Build/Fixed In Build: 9,0,1,274733 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 1

Problem:

List functions should allow arrays of delimitersCurrently list functions just allow strings as delimiters. Thereby each character of the string is considered as seperate delimiter.From my experience this is unfortunately often (not to say most often) not the needed behavior. I'd expect to be able to specify a whole string as list delimiter.To do so it should be possible to specify an array of delimiter strings for the "delimiters" parameter. See the steps to reproduce for examples.
Method:

<cfoutput><!--- Both of the following examples will output "world" --->#listGetAt("foobarhellobarworld", 3, ["bar"])##listGetAt("foobarhelloxyzworld", 3, ["bar", "xyz"])#</cfoutput>
Result:

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

Watson Bug ID:	3042264

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

Attachments:

Comments: