Unit 'wformat' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TFormattingWriter.EscapeText

Escapes text for the target format

Declaration

Source position: wformat.pp line 38

public function TFormattingWriter.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

TFormattingWriter.Write

  

Writes escaped text to the output stream


Documentation generated on: Jan 16 2026