Method ClipOrPad
ClipOrPad(string, int)
Adds trailing whitespace or truncates text
so that it fits exactly width
console units.
Note that some unicode characters take 2+ columns
public static string ClipOrPad(string text, int width)
Adds trailing whitespace or truncates text
so that it fits exactly width
console units.
Note that some unicode characters take 2+ columns
public static string ClipOrPad(string text, int width)