How to extract elements from the list in this way?

1.gh (13.5 KB)

I have a mental block this morning and could only come up with this:

chars_tree_2023Dec19a
chars_tree_2023Dec19a.gh (6.7 KB)

7 Likes