[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LCLProc' (#lcl)

TextToSingleLine

Compresses multi-line text into a single line.

Declaration

Source position: lclproc.pas line 314

function TextToSingleLine(

  const AText: string

):string;

Description

Ensures the covenient look of multiline string
  when displaying it in the single line
  * Replaces CR and LF with spaces
  * Removes duplicate spaces
          
The latest version of this document can be found at lazarus-ccr.sourceforge.net.