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
@demouth/mb_strwidth
Calculates the width of a string, where halfwidth characters count as 1, and fullwidth characters count as 2.