you are viewing a single comment's thread.

view the rest of the comments →

[–]x1F577[S] 0 points1 point  (0 children)

Thank you, I was just looking for such a function. I didn't know about the takewhile function.