Method LeftPart
LeftPart(in ParseSegment, int)
Cut segment from the left
Declaration
public static ParseSegment LeftPart(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 [origin.Offset..splitPoint) |