Returns subpath of a given element from given start and end lengths (only works for path elements)
path
Returns: string path string definition for the segment