StringSegmentSubstring(Int32, Int32) Method
Gets a
StringSegment instance, which represents a substring of the current instance with the specified
startIndex and
length.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public StringSegment Substring(
int startIndex,
int length
)
Public Function Substring (
startIndex As Integer,
length As Integer
) As StringSegment
public:
StringSegment Substring(
int startIndex,
int length
)
member Substring :
startIndex : int *
length : int -> StringSegment
- startIndex Int32
- The offset that points to the first character of the returned segment.
- length Int32
- The desired length of the returned segment.
StringSegmentThe subsegment of the current
StringSegment instance with the specified
startIndex and
length.