Align an ANSI colored string
Arguments
- text
The character vector to align.
- width
Width of the field to align in.
- align
Whether to align
"left","center"or"right".- type
Passed on to
col_nchar()and there tonchar()
See also
Other ANSI string operations:
col_nchar(),
col_strsplit(),
col_substr(),
col_substring()