Reputation: 5
I am familiar with Python and know that I can slice a list using a simple syntax like this:
my_list = [1, 2, 3, 4]
sliced_list = my_list[2:4]
print(sliced_list)
As output I get [3, 4]
This way I can access a subset of elements from a list.
I need to perform similar operations in Memgraph. Is there a way to slice a list in Memgraph?
Upvotes: 0
Views: 19