If this path has a trailing separator, it will still have a trailing separator after the last segments are removed (assuming there are some segments left). If there is no trailing separator, the result will not have a trailing separator. If the number equals or exceeds the number of segments in this path, a path with no segments is returned.
@param count the number of segments to remove @return the new path
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|