Click or drag to resize

MemoTran Function

Replace carriage-return/linefeeds with a character that can be displayed.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION MemoTran(
	 cSource AS USUAL,
	 cReplaceHardCR AS USUAL,
	 cReplaceSoftCR AS USUAL
) AS STRING

Parameters

cSource
Type: USUAL
The string that contains the carriage-return/linefeed.
cReplaceHardCR
Type: USUAL
The character to replace a hard carriage-return/linefeed pair with. The default is a semicolon (;).
cReplaceSoftCR
Type: USUAL
The character to replace a soft carriage-return/linefeed pair with. The default is a space.

Return Value

Type: String
A copy of cString with the specified carriage-return/linefeed pairs replaced.
See Also