Method RightPart
RightPart(in ParseSegment, int)
Cut segment from the right
Declaration
public static ParseSegment RightPart(in ParseSegment origin, int splitPoint)
Parameters
Type | Name | Description |
---|---|---|
ParseSegment | origin | Original segment |
int | splitPoint | Split point inside the segment |
Returns
Type | Description |
---|---|
ParseSegment | New segment [splitPoint..original_end] |