Deletes return characters from a string.
stripCR(String)
returns string
Name | Type | Required | Default | Description |
---|---|---|---|---|
String | string | Yes | A string or a variable that contains one |
x = 'A' & chr(13) & 'B' & chr(13);
y = stripcr( x );
writeoutput( 'Original: ' & x & ' Length: #len(x)#<br>' );
writeoutput( 'Stripped: ' & y & ' Length: #len(y)#' );