Description Usage Arguments Value
We use the ANSI map of the string, created by make_ansi_map1()
.
The result is put together from three pieces:
The ANSI start tags that are active at the beginning of the substring.
The substring that is selected, including all ANSI tags in it.
The ANSI end tags that are active at the end of the substring.
1 | ansi_substr1(x, start, stop)
|
x |
Length one character vector. |
start |
Length one numeric or integer. |
stop |
Length one numeric or integer. |
Length one character, the substring.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.