FMX.Text.GetNextLexemeBegin
Delphi
function GetNextLexemeBegin(const AText: string; const AIndex: Integer): Integer;
C++
extern DELPHI_PACKAGE int __fastcall GetNextLexemeBegin(const System::UnicodeString AText, const int AIndex);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FMX.Text.pas FMX.Text.hpp |
FMX.Text | FMX.Text |
説明
指定された位置より後にある最初の単語の開始インデックスを返します。
Text
は、検索範囲となる文字列を指定します。
Index
は、Text
内の検索の開始位置を指定します。
例:
index:=GetNextWordBegin('This is my string', 5)
//result
index=8
//the first word after position 5, is starting at position 8 :'my'