Deletes return characters from a string.
stripCR(String)
→ returns string
x = 'A' & chr(13) & 'B' & chr(13);
y = stripcr( x );
writeoutput( 'Original: ' & x & ' Length: #len(x)#<br>' );
writeoutput( 'Stripped: ' & y & ' Length: #len(y)#' );
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.