Join Slack
Communities
Powered by
I found myself a couple of time in the case where,...
# getting-started
e
elect
11/12/2022, 9:16 AM
I found myself a couple of time in the case where, given a list of string, I want to drop everything until a specific line, including the line itself, that is
dropWhile { it != line }.drop(1)
Is there a better way to do this?
Open in Slack
Previous
Next