Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 15.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 := Label.IndexOfAny(Values: List of [Char] [, StartIndex: Integer])
Parameters
Label
Type: Label
An instance of the Label 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.
Related information
Label data type
Getting started with AL
Developing extensions