This is a color-aware counterpart of
which does not do well, since it also counts the ANSI control
Character vector, potentially ANSO styled, or a vector to be coarced to character.
Additional arguments, passed on to
Numeric vector, the length of the strings in the character vector.
#> red default greennchar(str)#>  37ansi_nchar(str)#>  17#>  17