Skip to content

TStringHelper.DeQuotedString

Return a dequoted version of the string

Declaration

Source position: syshelph.inc line 104

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

Description

DeQuotedString will return a dequoted version of the string (Self), where the quote character is AQuoteChar (default: a single quote '). The string must start and end with the quote character, or it is returned as-is. Any double occurrences of the quote character AQuoteChar will be returned as a single quote.

See also

Name Description
AnsiExtractQuotedString
AnsiQuotedString