Sign in Join
FPDoc Onlineexperiment

TFormattingWriter.EscapeText function

Member of TFormattingWriterpublicIn unit WFormat

Escapes text for the target format

Declaration

pascal
function EscapeText(AText: string): string; virtual

Arguments

AText

Input text to be escaped

Function result

Text with format-specific characters escaped

Description

Virtual method that escapes special characters in text for the target output format. The base implementation returns the text unchanged. Descendant classes should override this method to escape format-specific characters.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.