For Each Text Line
Iterates over the lines of a text value and can trim lines and skip empties before running the body. Set skipEmpty to ignore empty rows or columns during iteration.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
text | yes | expression | string | — |
lineVar | yes | string | variable-name | — |
indexVar | yes | string | variable-name | — |
trimLine | no | expression | — | — |
skipEmpty | no | expression | — | — |
Notes
No additional notes are available yet.
Examples
Import YouTube Chapter Text As Sequence Markers
Prompts for a pasted chapter block or a text file, optionally clears existing active-sequence markers, then imports YouTube-style chapter lines as sequence markers.
Topics: markers, YouTube chapters, text import, file dialogs, multiline prompts, marker comments
Source: recipes/ex-markers-import-youtube-chapter-text-as-sequence-markers.json