Unstructured Text
Duplicate Lines
Repeat each line of your text a chosen number of times, keeping the copies next to the original.
When to use it
Typical uses: Creating multiple labels or tickets per item; Building repeated rows for spreadsheet templates; Generating simple test data.
In a pipeline
Text InputDuplicate LinesText Output
Settings
| Setting | Type | Required | Default or hint |
|---|---|---|---|
| Text column | select | — | Text |
| Copies of each line | number | — | 2 |
| 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
Duplicate Lines: an example
- Copies of each line=2
| Text |
|---|
| Red Green Blue |
| Text |
|---|
| Red Red Green Green Blue Blue |
Worth knowing
- What is the maximum number of copies? Up to 100 copies of each line.
- How is this different from the Text Repeater? This tool repeats each line in place. The Text Repeater repeats your whole text as one block.
- Are empty lines repeated? Yes, so the structure of your text is kept.
- 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.