Function Reference

StringAddCR

Takes a string and prefixes all linefeed characters ( Chr(10) ) with a carriage return character ( Chr(13) ).

StringAddCR ( "string" )

 

Parameters

string The string to convert.

 

Return Value

Returns the string with all instances of linefeed characters ( @LF ) prefixed with a carriage return character ( @CR ).

 

Remarks

None.

 

Related

StringStripCR, StringReplace

 

Example


$old = "Notepad" & @LF & "expects" & @LF & "CRLF text."
$new = StringAddCR($old)