StringExtensions Class
Contains extension methods for
string
.
public static class StringExtensions
- Namespace
- Spectre
.Console
Methods
-
static string EscapeMarkup
(string) - Escapes text so that it won’t be interpreted as markup.
-
static int GetCellWidth
(string) - Gets the cell width of the specified text.
-
static string Mask
(string, char?) - "Masks" every character in a string.
-
static string RemoveMarkup
(string) - Removes markup from the specified string.