IndexByValue Function - microsoft/MIMWAL GitHub Wiki
Syntax
int IndexByValue(values:[list or object], value:object)
Description
Returns the zero-based index of the specified value in the input list. If the value is null or not found in the list or the list in null, -1 is returned.
Remarks
None.
Supported Version
2.20.0523.0 and later
Examples
IndexByValue(SplitString("User|Manager|Director", "|"), "Manager")