subPath

fun subPath(endIndex: Int): Path

Get a path consisting of a sublist of names of this path.

Return

a path consisting of a sublist of names of this path

Parameters

endIndex

the index of the last name, exclusive