I have a list:
lis = {{1,2,3},{"True",3,4,5},{6,5},{3},{6,4},{"True",2,1},{5},{5,6},{7,8,9}}
I want to make a new list consisting of elements of lis that begin with "True", and include the next two elements directly following, thus making triplets:
res = {({"True",3,4,5},{6,5},{3}},{{"True",2,1},{5},{5,6}}}
I can't see how to use Cases here. Thanks for ideas.