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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Returns the index of a delimiter character in the given string.
Call FindDelimiter to determine the index, in S, of the character that matches any of the characters in Delimiters, except the null character.
The parameters expected by FindDelimiter are specified in the following table.
Argument | Meaning |
---|---|
Delimiters |
Represents a string where each character is a valid delimiter. |
S |
Represents the string to search for delimiters. |
StartIdx |
Specifies the index, in S, at which the search for delimiters starts. |