[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 319

function TextToSingleLine(

  const AText:

):;

Description

Ensures the covenient look of multiline string
  when displaying it in the single line
  * Replaces CR and LF with spaces
  * Removes duplicate spaces