MEMOTRAN()
Converts hard and soft carriage returns within strings.
Syntax
MEMOTRAN( <cString>, <cHard>, <cSoft> ) --> <cConvertedString>
Arguments
<cString> is a string of chars to convert.
<cHard> is the character to replace hard returns with. If not specified defaults to semicolon.
<cSoft> is the character to replace soft returns with. If not specified defaults to single space.
Returns
<cConvertedString> Transformed string.
Description
Returns a string/memo with carriage return chars converted to specified chars.
Examples
? MEMOTRAN( DATA->CNOTES )
Tests
@ 1, 1 SAY MEMOTRAN( Data->CNOTES ) will display converted string starting on row two, column two of the current device.
Compliance
Clipper
Files
Library is rtl
Seealso
HARDCR(), STRTRAN()
Pingback: Harbour All Functions – M | Viva Clipper !
Pingback: Harbour Memo Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !