Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: ConsoleColoredString Substring(int, int)

Declaration

public ConsoleColoredString Substring(
    int startIndex,
    int length
)

Summary

Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.

Parameters

intstartIndex The zero-based starting character position of a substring in this instance.
intlength The number of characters in the substring.

Returns

A ConsoleColoredString equivalent to the substring of length length that begins at startIndex in this instance.