Hi;
I have an array and I want to do an operation on it. Let me explain with an example:
Suppose we have the following array (the length of the array may be any number)
[1,2,3,4]
If I select any of the array cells, I want the subsequent cells to be removed from the array.
For example, if cell 3 is selected, cell 4 is removed from the array, or if cell 2 is selected, cells 3 and 4 are deleted.
Thank you for your help.