public PositionString Colorize(MircColor color, int offset = 0) { int index = text.LastIndexOf('|') + offset; text = text.Insert(index, color); return(this); }
public static string Colorize(this string text, MircColor color) { return(color + text + Color.Clear); }