Declaration
public ConsoleColoredString Substring(
int startIndex
)Summary
Retrieves a substring from this instance. The substring starts at a specified character position.
Parameters
| int | startIndex |
The zero-based starting character position of a substring in this instance. |
Returns
A
ConsoleColoredString object equivalent to the substring that begins at
startIndex in this instance.
Exceptions
- System.ArgumentOutOfRangeException
startIndex is less than zero or greater than the length of this instance.