Unstructured Text
Text Wrapper
Break long lines so that none is longer than the width you choose.
When to use it
Typical uses: Formatting plain-text emails to 72 or 80 characters; Wrapping Git commit message bodies; Splitting long keys or Base64 strings into fixed-width lines.
In a pipeline
Text InputText WrapperText Output
Settings
| Setting | Type | Required | Default or hint |
|---|---|---|---|
| Text column | select | — | Text |
| Maximum line length | number | — | 40 |
| Break at | select | — | words |
| Generate New Column | checkbox | — | false |
| New Column Name | text | — | Default: <column> Result |
| Insert After | select | — | After the column |
| When a value cannot be converted | select | — | stop |
Example
Text Wrapper: an example
- Maximum line length=20
| Text |
|---|
| The quick brown fox jumps over the lazy dog near the riverbank. |
| Text |
|---|
| The quick brown fox jumps over the lazy dog near the riverbank. |
Worth knowing
- What width should I use for emails? Around 72 characters is a common convention for plain-text email.
- Are words ever split? Only in word mode when a single word is longer than the limit, or always in exact-character mode.
- How do I undo the wrapping? Use Remove Line Breaks.
- Works on any text column, not only Text Input's: pick it under Text column. Tick Generate New Column to keep the original next to the result.