powered by
Wrap text
str_wrap(x, width = 80)
A character vector with wrapped text.
A character vector to wrap.
The maximum width of the lines.
str_wrap(rep("Hello, world!", 10)) str_wrap(rep("Hello, world!", 10), width = 10)
Run the code above in your browser using DataLab