Text.IndexOfAny(List of [Char] [, Integer]) Method
Version: Available or changed with runtime version 1.0.
Reports the one-based index of the first occurrence in this instance of any character in a specified array of Unicode characters. The search starts at a specified character position.
Syntax
Index := Text.IndexOfAny(Values: List of [Char] [, 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.
Values
Type: List of [Char]
The collection of characters 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
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour