newline_format | R Documentation |
Insert a newline between words so that all single lines will be of length 'len' or less.
newline_format(x, len)
x |
string to insert newlines into |
len |
length that each line must be |
string with newlines inserted
str <- "This is a test of the newline_format function which is used to split text"
newline_format(str, 12)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.