Description Usage Arguments Value
Behaves just like nchar when use.style is FALSE,
and ignores ANSI escape sequences in counts if it is TRUE
1 | ansi_style_nchar(txt, use.style = getOption("ansistyle.use.style"))
|
txt |
character vector to count characters of |
use.style |
TRUE, FALSE, or NULL, whether we should interpret ANSI
escape sequences as escape sequences, or literally; NULL will auto-detect
ansi support with |
integer same length as txt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.