System.SysUtils.FindDelimiter
Delphi
function FindDelimiter(const Delimiters, S: string; StartIdx: Integer = 1): Integer;
C++
extern DELPHI_PACKAGE int __fastcall FindDelimiter(const System::UnicodeString Delimiters, const System::UnicodeString S, int StartIdx = 0x1);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
説明
指定された文字列での区切り文字のインデックスを返します。
FindDelimiter を呼び出すと、Delimiters のいずれかの文字(NULL 文字以外)に一致する文字の、S でのインデックスを決定できます。
FindDelimiter に必要なパラメータを次の表に示します。
引数 | 意味 |
---|---|
Delimiters |
各文字が有効な区切り文字である文字列を表します。 |
S |
区切り文字を検索する文字列を表します。 |
StartIdx |
区切り文字の検索を開始する、S のインデックスを指定します。 |