System.SysUtils.QuotedStr
Delphi
function QuotedStr(const S: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall QuotedStr(const System::UnicodeString S)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
説明
引用符付き文字列を返します。
QuotedStr 関数を使用すると,文字列 S を引用符付き文字列に変換できます。単一引用符(')は S の先頭と末尾に挿入され,文字列内のそれぞれの引用符が繰り返し処理されます。
メモ: マルチバイト文字セット(MBCS)を扱う場合は,QuotedStr のかわりに AnsiQuotedStr を使用してください。