Command-line string manipulation helpers.
This library provides string helpers for building command-line output. With this library, you can
rs
style_str("Hello", TextStyle::Bold)
rs
style_str(txt, TextStyle);
color_str(txt, TextColor);
background_str(txt, TextBackground);
clean_str(txt);
match_indices(txt);
slice_str(txt, start, end);
size_str(txt);
pad_str(txt, width, TextAlign, chr);
trucate_str(txt, width, TextAlign, tail);
wrap_str(txt, width);
repaire_str(txt);
prepend_str(txt, chunk);
append_str(txt, chunk);