skipIndex

fun <T> Sequence<T>.skipIndex(index: Int): Sequence<T>

Returns a new sequence containing all the elements of this sequence except the one at the given index (0-based). If index is beyond the end of this sequence, the returned sequence is equal to this one.

Throws