EntryIndex

Function:

Return the position of a particular item from a string list.

Syntax:

EntryIndex( <Itemlist>, <ItemToFind>, <Delimiter> )

Example:

Let TheLine="List Item 1:List Item 2:List Item 3:List Item 4:List Item 5:List Item 6"

Let I=EntryIndex( "%%Theline%%", "List Item 4", : )

Notes:

 If a comma is used as a delimiter, it must be enclosed within quotes when used with the EntryIndex command

 

Let TheLine="List Item 1,List Item 2,List Item 3,List Item 4,List Item 5,List Item 6"

Let T=EntryIndex( "%%Theline%%", "List Item 4, "," )

 

 The above sample is from Example 71.