subPath

fun subPath(startIndex: Int, endIndex: Int): RelativePath

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

Return

a relative path consisting of a sublist of names of this relative path

Parameters

startIndex

the index of the first name, inclusive

endIndex

the index of the last name, exclusive