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

The function returns a number list with elements in l from indexFrom index to indexTo index.

Having indexFrom >= 1 and indexFrom <= count(l) and indexTo >= 1 and indexTo <= count(l) and indexFrom <= indexTo

Syntax
sublist(number list l, number indexFrom, number indexTo) #Output: Number list
Examples
Parser expressionDescription
sublist([1, 2, 3, 4, 5], 2, 4)

This example returns the following number list: [2, 3, 4]

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER LIST


Text list

This function returns a text list with elements in l from indexFrom index to indexTo index. Having indexFrom >= 1 and indexFrom <= count(l) and indexTo >= 1 and indexTo <= count(l) and indexFrom <= indexTo.
Syntax
sublist(string list l, number indexFrom, number indexTo) #Output: Text list
Examples
Parser expressionDescription
sublist(["red", "green", "blue", "purple", "white"], 2, 4)

This example returns the following text list["green", "blue", "purple"]

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT LIST


Issue list

This function returns an issue list with elements in l from indexFrom index to indexTo index.

Having indexFrom >= 1 and indexFrom <= count(l) and indexTo >= 1 and indexTo <= count(l) and indexFrom <= indexTo.

Syntax
sublist(issue list l, number indexFrom, number indexTo)  #Output: Issue list
Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns an ISSUE LIST