SubIndex

Synopsis
This keyword can be used in the Expression parameter of the FLATTEN array function. SubIndex denotes the index of an element of SubArray.
Returns
Returned types: Numeric.
Examples
1.

The following example shows how to use keywords and functions related to arrays. For more information, see the A comprehensive example subsection of the Array functions section in Chapter 27: Using arrays.

ARRAYTOSTRING(FLATTEN(PatternMatching.Models, Item.Occurrences, CONCAT(Item.Name, " (", SubIndex, "/", SubItemCount, ")", " Score = ", TOSTRING(SubItem.Score, ":F1"))), "\r\n")