string-length

Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes

ccount

Count how often a character (or substring) is used in a string