Text.IndexOf(Text [, Integer]) Method
Version: Available or changed with runtime version 1.0.
Reports the one-based index of the first occurrence of the specified string in this instance.
Syntax
Index := Text.IndexOf(Value: Text [, StartIndex: Integer])
Note
This method can be invoked without specifying the data type name.
Parameters
Text
Type: Text
An instance of the Text data type.
Value
Type: Text
The string to seek.
[Optional] StartIndex
Type: Integer
The one-based search starting position.
Return Value
Index
Type: Integer
The one-based index of the first occurrence of the specified string in this instance. If the index returned is 0, the value is not present in the string.
See Also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla