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> Trasformed 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.
Status

Ready

Compliance

MEMOTRAN() is fully CA-Clipper compliant.

Files

Library is rtl

See Also