← All nodes
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

Settings

SettingTypeRequiredDefault or hint
Text columnselect—Text
Maximum line lengthnumber—40
Break atselect—words
Generate New Columncheckbox—false
New Column Nametext—Default: <column> Result
Insert Afterselect—After the column
When a value cannot be convertedselect—stop

Example

Text Wrapper: an example

  • Maximum line length=20
Text arriving
Text
The quick brown fox jumps over the lazy dog near the riverbank.
The text after this node
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.

Others in Unstructured Text