You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »


Supported list types

Number list

This function returns the element in position n in the number list l, where n >= 1 and n <= count(l).

Returns null if n is greater than the number of elements in l.

Syntax
nthElement(number list l, number n) #Output: Number
Examples
Parser expressionDescription
nthElement([5, 6, 7, 8], 3) 

This example returns the number 7

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER


Text list

This function returns the element in position n in the string list l, where n >= 1 and n <= count(l).

Returns null if n is greater than the number of elements in l.

Syntax
nthElement(string list l, number n) #Output: Text
Examples
Parser expressionDescription
nthElement(["blue", "red", "green"], 2)

This example returns the text "red"

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT


Issue list

This function returns an issue list with the element at position n in issue list l, where n >= 1 and n <= count(l).

Returns an empty list if n is greater than the number of elements in l.

Syntax
nthElement(issue list l, number n) #Output: Issue list
Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a ISSUE LIST