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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기