StringSegmentSubstring(Int32) Method

Gets a new StringSegment instance, which represents a substring of the current instance with the specified startIndex.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public StringSegment Substring(
	int startIndex
)

Parameters

startIndex  Int32
The offset that points to the first character of the returned segment.

Return Value

StringSegment
The subsegment of the current StringSegment instance with the specified startIndex.

See Also