what's the easiest way to remove the first element...
# announcements
d
what's the easiest way to remove the first element from the
List
returned by
val lines = reply.split("\n")
?
s
is there a slice or sublist method? would probably be easiest
d
ok thanks, subList looks what I was looking for
r
.drop(1)
should also work.
👍 3
d
even better