ARZENTIQ
TEXT & WRITING

Add Prefix & Suffix to Lines

Put text before and after every line, or use a template with {line}, {n}, {total}, {upper}, {lower} and {trim} — numbered, padded, blank lines skipped or kept.

Every line rewritten through the template, with line numbers from any start and step, padded to a width, blank lines left alone if you wish — and nothing else changed.

Example: Prefix "- " and suffix ";" turn one / two into "- one;" / "- two;"; the template "{n}. {upper} of {total}" with width 2 gives "01. ONE of 3", "02. TWO of 3", "03. THREE of 3".

v0.1.0 · last reviewed 21 September 2026
Loading the workspace…
BUILT TO BE UNDERSTOOD

A template
per line.

What the placeholders do and how numbering works.

Template

Each line is passed through the template; prefix and suffix are shorthand for "prefix{line}suffix". {line} is the line as typed, {trim} without surrounding spaces, {upper} and {lower} case-folded, {total} the number of lines processed. A template without {line} or {n} is refused, since the text would be lost.

Numbering

{n} counts from the start value by the step and is zero-padded to the width you set. Blank lines can be left as they are (they do not consume a number) or treated like any other line.

Nothing else

No other change is made: line order, content and line endings are preserved. Nothing leaves the browser; the same four anonymous usage counts as the rest of the site apply.

SOURCES

  • Template placeholders per line: {line} as typed, {trim} without surrounding spaces, {upper}/{lower} case-folded, {n} counted from the start by the step and zero-padded, {total} = lines processed

Last reviewed 21 September 2026. How results are checked: How we verify.