I am a user from Robin Language WinAutomation.
Variables of text, list and datatable types can be sliced using index.
However, it is difficult to explain this to new users as a formal feature because it is not currently described in Docs.
It is possible to slice variables by writing as follows
%Variable[start:stop]%.
May be omitted if first or last position is specified.
Text type
SET Text TO $''''abcde''''
%Text[:3]%. abc
%Text[2:4]%. cd
%Text[3:]%. de
Similar to the Get Subtext action.
List type
SET List TO [1, 2, 3, 4, 5]
%List[:3]% %[1,2,3]%
%List[2:4]% %[3,4]%
%List[3:]% %[4,5]%
Datatable types

Variables.CreateNewDatatable InputTable: { ^['Column1', 'Column2'], [$'''a''', 0], [$'''b''', 1], [$'''c''', 2], [$'''d''', 3] } DataTable=> DataTable
%Datatable[2:4]%
