Title:
"includeEmptyValues" of listRest() when passed with a list containing a single element is not returning an empty string which is the expected behaviour.
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (S Preethi)
Created: 01/23/2015
Components: Language, Functions
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: 292860 / CF11 Update5
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Mac 10 All,Win XP All
Vote Count: 0
Problem:
With respect to the bug 3041684 , With the hotfix 4 for CF11, listRest() when passed with a list containing a single element is not returning an empty string which is the expected behaviour.
Method:
<CFSET MyList = "Monday">
<CFOUTPUT>
<B>List:</B> #MyList#<BR>
<B>All Elements Excluding First:</B> #ListRest(MyList, ",",true)#
</CFOUTPUT>
Result:
Monday
Expected:
[Blank / EmptyString]
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3926197
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: