new_lines_adder | R Documentation |
Returns a character string with newlines every nth character. See also add_newlines().
new_lines_adder(x, interval)
x |
A character string. |
interval |
How often the newlines are added. |
set.seed(2)
new_lines_adder(paste0(sample(c(letters, " "), size = 100, replace = T), collapse = ""), interval = 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.