HARDCR()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to convert carriage returns

Syntax

HARDCR(<expC> | <memofield>)

See Also

HTML_TOPLAINTEXT(), LEN(), MEMOLINE(), MEMOREAD(), MEMOTRAN(), MEMOWRITE(), MLCOUNT(), MLINE()

Description

The HARDCR() function converts all the 'soft' carriage returns (ASCII 10) in the specified <expC> or <memofield>, to 'hard' carriage returns (ASCII 13). The HARDCR() function returns the <expC> or <memofield> as a character string, after conversion.

Example

cFormat = hardcr(notepad)