SQL 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. Use PostgreSQL’s function reference to adapt the input to SQL syntax.
- Chunk length
3- Chunk ending
"\\n"
manualsplus
man\nual\nspl\nus\n
Using this operation in SQL
The interactive result uses JavaScript. Check the database dialect. PostgreSQL text functions use SQL-style one-based positions and LIKE uses its own pattern syntax.