R Split into chunks Online
Split text into fixed-length chunks.
Run details
The output updates as you type. The tool processes input in your browser.
Worked example
Chunks have a fixed width and can break across words. Use word wrap when word boundaries need to be kept.
- Chunk length
3- Chunk ending
"\\n"
manualsplus
man\nual\nspl\nus\n
Using this operation in R
The interactive result uses JavaScript. Many R text functions vectorize over a character vector. Set useBytes explicitly where the function supports it and byte matching matters.