Color(character, foreground) Color(foreground, background) Color(character, foreground, background) Format(format, provider, args) IndexOf(value, startIndex, comparisonType) IndexOf(value, startIndex, count, comparisonType) Replace(oldValue, newValue, comparison) Split(separator, count, options)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Method: IEnumerable<ConsoleColoredString> Split(string[], int?, StringSplitOptions)Declarationpublic IEnumerable<ConsoleColoredString> Split(
string[] separator,
int? count = null,
StringSplitOptions options = None
) Summary
Returns a string array that contains the substrings in this ConsoleColoredString that are
delimited by elements of a specified string array. Parameters specify the maximum number of substrings to
return and whether to return empty array elements. Parametersstring[] | separator |
An array of strings that delimit the substrings in this ConsoleColoredString, an empty array
that contains no delimiters, or null. | int? | count |
The maximum number of substrings to return, or null to return all. | StringSplitOptions | options |
Specify StringSplitOptions.RemoveEmptyEntries to omit empty array elements from the array
returned, or StringSplitOptions.None to include empty array elements in the array
returned. |
Returns
A collection whose elements contain the substrings in this ConsoleColoredString that are
delimited by one or more strings in separator. |