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: ConsoleColoredString Replace(char, ConsoleColoredChar)Declarationpublic ConsoleColoredString Replace(
char oldChar,
ConsoleColoredChar newChar
) Summary
Returns a new ConsoleColoredString in which every occurrence of oldChar is
replaced with the newChar, overwriting its color as well. Parameterschar | oldChar |
The character to search for. | ConsoleColoredChar | newChar |
The colored character to replace every occurrence of oldChar with. |
Returns
The new string after replacements. |