StringSegment.Union method

Returns the union of this segment with another segment of the same string.

public StringSegment Union(StringSegment segment)
parameter description
segment Another segment of the same string.

Return Value

A string segment that spans both string segments.

Remarks

If the segments do not intersect, the segment will also include any characters between the two segments.

See Also