MemberNth Function
Description:
The Nth member of a list.
Note that this function is non-evaluable if N is greater than the size of the list.
Returns:
Any
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Whole Number | The Nth position. |
2 | Any* | The list. |
Examples:
When using functions inside a field, remember the field brackets:
{MemberNth(1, MemberList)}
Expression | Result |
|---|---|
MemberNth( 1, List("a","b","c") ) | "a" |
MemberNth( 3, List("a","b","c") ) | "c" |