Previous Up Next

2.35.4  Sub-sequence of a sequence : []

A sequence or a variable name assigned to a sequence followed by [n1..n2] returns the sub-sequence of this sequence starting at index n1 and ending at index n2.
Input :

(0,1,2,3,4)[1..3]

Output :

(1,2,3)

Previous Up Next