Is there an elegant way to split a list into two chunks at a specified index?
For example my list looks as followed:
[-4, 0, 2, 18, 22, 67, 51]
I want to get two lists, namely:
[-4, 0, 2]
[18, 22, 67, 51]
So the specified index would be 2 (so that the 2nd list starts after the value 2).
Thanks for help