StripCR

Deletes return characters from a string.

Method Signature

StripCR(string=[string])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The string or variable that contains the text.

Examples

Removing carriage returns (cr) from a string

Run Example

x = "A" & char( 13 ) & "B" & char( 13 );
y = stripcr( x );
writeoutput( "Original: " & x & " Length: #len( x )#<br>" );
writeoutput( "Stripped: " & y & " Length: #len( y )#" );

Additional Examples

Run Example

Last updated

Was this helpful?