System.SysUtils.TStringHelper.DeQuotedString
Delphi
function DeQuotedString: string; overload;
function DeQuotedString(const QuoteChar: Char): string; overload;
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TStringHelper |
Description
This method removes the quote characters from a string.
DeQuotedString removes the quote characters from the beginning and end of a quoted string, and reduces pairs of quote characters within the quoted string to a single character.
Example
var
myString: string;
begin
myString := '''''This function illustrates the f''''unctionality of'' the DeQuoted''String method.''';
myString := myString.DeQuotedString;
writeln(myString);
readln;
end.