Returns the subpath of a given path between given start and end lengths
Returns: string path string definition for the segment