Whatever message this page gives is out now! Go check it out!
StripCR(string) |
Parameter | Description |
string | A string or a variable that contains one |
<cfscript>
x = 'Hello' & chr(13) & 'World' & chr(13);
y = StripCR(x);
writeOutput('Original: ' & x & ' Length: #len(x)#<br>' );
writeOutput('Stripped: ' & y & ' Length: #len(y)#' );
</cfscript>