powered by
Dependency-free drop-in alternative for stringr::str_width(). Results for non-ASCII characters may be inaccurate in R < 4.0.
stringr::str_width()
str_width(string)
A numeric vector the same length as string.
Input vector. Either a character vector, or something coercible to one.