In Scala, how to get a slice of a list from nth element to the end of the list without knowing the length?

前端 未结 4 751
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-02 05:34

I\'m looking for an elegant way to get a slice of a list from element n onwards without having to specify the length of the list. Lets say we have a multiline string which I spl

4条回答
提交回复
热议问题