# Function Reference

StringStripCR

Removes all carriage return values ( Chr(13) ) from a string.

StringStripCR ( "string" )

Parameters

string | The string to convert.

Return Value

Returns the string with all instances of the @CR character (Chr(13)) removed.

Remarks

"string" parameter cannot be a binaryString.

Related

StringAddCR, StringStripWS, StringIsSpace

Example

$result = StringStripCR("I am a string" & Chr(13) & Chr(10))
MsgBox(0, "String stripped of all CR characters is:", $result)