Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Tells, is given character a part of astral character, specifically, a high and low surrogate
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes