Skip to content

IndexByValue Function

Nilesh Ghodekar edited this page May 24, 2020 · 1 revision

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")

Clone this wiki locally