tracker issue : CF-3042160

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

Bug 84161:(Watson Migration Closure)Add listEquals() function to check for equality of two listsThe syntax would be:listEquals(list1, list2 [, delimiters1, delimiters2])The function would return TRUE, if both lists contain the same numb

| 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: Minor / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

Add listEquals() function to check for equality of two listsThe syntax would be:listEquals(list1, list2 [, delimiters1, delimiters2])The function would return TRUE, if both lists contain the same number of elements and the elements are equal, otherwise FALSE. The order of the elements is thereby ignored.  The parameters "delimiters1" and "delimiters2" specify the delimiters used for "list1" resp. "list2" (default: ",").Additionally you could add a function listEqualsNoCase() for a case insensitive comparison or add an additional boolean parameter "caseSensitive" to listEquals(). I'd prefer the latter since that is almost the same functionality, but this would lead to inconsistency with other functions like find() and findNoCase(), which should generally be combined to one function + "caseSensitive" parameter.
Method:


Result:

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

Watson Bug ID:	3042160

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

Attachments:

Comments: