System.SysUtils.TStringHelper.DeQuotedString

提供: RAD Studio API Documentation
移動先: 案内検索

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.

関連項目