string-width
Get the visual width of a string - the number of columns required to display it
widest-line
Get the visual width of the widest line in a string - the number of columns required to display it
string-length
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
html-escaper
fast and safe way to escape and unescape &<>'" chars