Class StringExtensions | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Extensions to string to support TUI text manipulation.
public static class StringExtensions
Inheritance
StringExtensions
Inherited Members
Methods
Unpacks the last UTF-8 encoding in the string.
Unpacks the first UTF-8 encoding in the string and returns the rune and its width in bytes.
Gets the number of columns the string occupies in the terminal.
Gets the number of runes in the string.
IsAllAsciiDigits(ReadOnlySpan)
Determines if this ReadOnlySpan of char is composed entirely of ASCII digits.
IsAllAsciiHexDigits(ReadOnlySpan)
Determines if this ReadOnlySpan of char is composed entirely of ASCII digits.
Repeats the string n
times.
Converts the string into a List.
Converts the string into a Rune array.
ToString(IEnumerable, Encoding?)
Converts a byte generic collection into a string in the provided encoding (default is UTF8)
Converts a Rune generic collection into a string.