Hi
Is there a way to slice a list/array in Maya? Much the same way as Python.
For instance, with a list/array of:
$data[] = {“Cube”, “Box”, “Cylinder”, “Cone”, “Sphere”};
I want to exclude the first entry which is “Cube” in this cube resulting to a new list of
{“Box”, “Cylinder”, “Cone”, “Sphere”}
In Python, this would be something like data[:1] (Correct me if I’m wrong).
I think there is no such direct command in Maya but is there an alternative?
Thank you for looking at the problem.