string-length

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

avip-string-length

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

ranges-crop

Crop array of ranges when they go beyond the reference string's length