Skip to content

TStringHelper.QuotedString

Return a quoted version of the string

Declaration

Source position: syshelph.inc line 146

public 
  function QuotedString : string;  Overload;
  function QuotedString(const AQuoteChar: Char) : string;  Overload;

Description

QuotedString returns a quoted version of the string (Self). The quote character is specified in AQuoteChar, which by default is the double quote ("). Any existing quote characters occurrences will be doubled.

See also

Name Description
AnsiQuotedStr Return a quoted version of a string.
QuotedStr Return a quotes version of a string.