获取字符串的显示宽度——即显示该字符串所需的列数
Get the visual width of a string - the number of columns required to display it