If this path has a trailing separator, the result will too (assuming there are some segments left). If there is no trailing separator, the result will not have a trailing separator. Copying up to segment zero simply means making an copy with no path segments.
@param count the segment number at which to truncate the path @return the new path
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|