ArrayIndex

Description

Returns the position of the first occurrence of the specified item within the list (array). Returns zero (0) if the item is not found.

Syntax

ArrayIndex(Item:String,List:String,Delimiter:String):Integer 

Item specifies the string value to test.

List specifies the list of strings in which to search.

Delimiter is the character to use to delineate items in the string list. Supported special characters:

Note:

You must use the name of the delimiter (not the character) and include brackets around the name.

Example

ArrayIndex(Cola,Diet Cola;Root Beer;Cola,[comma])

Return value is 3.