Skip to tool

C Shell Split into chunks Online

Split text into fixed-length chunks.

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"
Sample input
manualsplus
Sample output
man\nual\nspl\nus\n

Using this operation in C Shell

The interactive result uses JavaScript. Use quoting to keep argument boundaries intact. An external command such as awk, sed, or tr supplies operations beyond shell expansion.

C Shell reference