Description Usage Arguments Value Examples
Wrap a string
1 | wrap_string(x, n_chars, sep = " <br> ")
|
x |
character, a string with words in it |
n_chars |
numeric, number of characters before split |
sep |
charcter, a character string with the separator, default is " <br> " for html |
character, a string, with the text wrapped (separate) by the sep
delimiter
1 2 | a <- "a really long string that you want to wrap"
wrap_string(a,n_chars = 20, sep = )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.