I have a requirement where i have to split array list of strings to multiple smaller lists based on a delimiter. Lets say my list contains
["This list contains"],
["What I need"],
["bla bla"],
["bla bla"],
["bla bla"],
["bla bla"],
["Found"],
["some more"],
["irrelevant"],
["data"]
Whenever i find What I need, i have to slice the list from that part till i find the string found
so My resultant sublist should be of the form
["bla bla"],
["bla bla"],
["bla bla"],
["bla bla"]