Title:
CFCLIENT : String : Wrap : Functions gives unexpected output in one scenerio
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Anuj Nawani)
Created: 03/28/2014
Components: Mobile Support, Data Structure
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: 289466 / CF11 Update5
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Code snippet:
<div id="actual_2" class="actual">
<cfclient>
<cfscript>
str1 = repeatString("12345 abc" & chr(13) & chr(10), 4);
str1 = str1.wrap( 9);
lf = "/";
writeOutput(replace(replace(str1, chr(13), "/", "ALL"), chr(10), lf, "ALL"));
</cfscript>
</cfclient>
</div>
Expected: 12345 abc//12345//abc//12345 abc//12345//abc//
Actual: 12345 abc///12345 abc///12345 abc///12345 abc///
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3732088
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: