/
subList
PhixFlow Help
subList
Attribute Function: subList
Returns a portion of the supplied List.
Syntax
subList([value1, value2, value3,...], <startPosition>)
subList([value1, value2, value3,...], <startPosition>, <endPosition>)
Argument | Type |
---|---|
valuen | A value of any type |
startPosition | Integer |
endPosition | Integer |
Usage
subList([value1, value2, value3,...], <startPosition>, <endPosition>)
Returns a list, drawn from the given list, starting at element position <startPosition>, and ending at element position <endPosition>.
subList([value1, value2, value3,...], <startPosition>)
Returns a list, drawn from the given list, starting at element position <startPosition>, and ending at the end of <List>.
Examples
- subList([1,2,3,4,5,6,7,8,9,10],6,9)
returns the portion of the supplied List between element positions 6 and 9: [6,7,8,9]. - subList([1,2,3,4,5,6],3)
returns the portion of the supplied List from element position 3, to the end of the List: [3,4,5,6]".
, multiple selections available,
Related content
SubList Macro
SubList Macro
More like this
SubList Macro
SubList Macro
More like this
SubList Macro
SubList Macro
More like this
Please let us know if we could improve this page feedback@phixflow.com