System.SysUtils.TStringHelper.DeQuotedString
Delphi
function DeQuotedString: string; overload;
function DeQuotedString(const QuoteChar: Char): string; overload;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TStringHelper |
説明
このメソッドは、文字列から引用符文字を削除します。
DeQuotedString は、引用符文字を、引用文字列の最初および最後からは削除し、引用文字列内の引用符文字のペアについては、一文字に減らします。
例
var
myString: string;
begin
myString := '''''This function illustrates the f''''unctionality of'' the DeQuoted''String method.''';
myString := myString.DeQuotedString;
writeln(myString);
readln;
end.