sublist 2.1 substring 1.0
sublist list position1 position2
substring string position1 position2
Reports just a section of the given list or string, ranging between the first position (inclusive) and the second position (exclusive).
If either position is fractional, it will be rounded down to the nearest integer (4.5 becomes 4, 10.9 becomes 10).
Note: The positions are numbered beginning with 0, not with 1.
show sublist [99 88 77 66] 1 3
=> [88 77]
show substring "apartment" 1 5
=> "part"