Description Usage Arguments Value Examples
Cut a character string over multiple lines
1 | str_line_break(string, nchar_max, collapse = "\n")
|
string |
Input character vector. |
nchar_max |
The maximum number of character per line. |
collapse |
A character string to separate the results. |
A character vector.
1 2 | caractr::str_line_break(c("A very very very very very very long character string", "test"),
nchar_max = 40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.