MemoTran()

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()

Advertisements

3 responses to “MemoTran()

  1. Pingback: Harbour All Functions – M | Viva Clipper !

  2. Pingback: Harbour Memo Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s