concat
(Package: crayon) :
Concatenate character vectors
The length of the two arguments must match, or one of them must be of length one. If the length of one argument is one, then the output's length will match the length of the other argument. See examples below.
col_substr
(Package: crayon) :
Substring(s) of an ANSI colored string
This is a color-aware counterpart of base::substr. It works exactly like the original, but keeps the colors in the substrings. The ANSI escape sequences are ignored when calculating the positions within the string.
Create a style, or a style function, or both. This function is intended for those who wish to use 256 ANSI colors, instead of the more widely supported eight colors.
This is the color-aware counterpart of base::substring. It works exactly like the original, but keeps the colors in the substrings. The ANSI escape sequences are ignored when calculating the positions within the string.