Harbour Reference Guide

 

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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30