Quick Start
- Open the Add Prefix/Suffix (批量前后缀) tool on HeronTool.
- Paste or type your multi-line text (one line per entry) into the input box.
- Fill in the “Prefix” and “Suffix” fields with the content to add (leave blank if not needed).
- To customize the line separator (e.g., comma or pipe), set it in the “Separator” option—default is newline.
- Click the “Add” button; the result appears on the right—copy it with one click.
Practical Tips
- Batch operation: Handles thousands of lines at once, with instant preview—no manual line-by-line editing.
- Removal function: Switch to “Remove” mode to strip existing prefixes/suffixes by entering the text to delete.
- Note: Ensure original text has no stray spaces to avoid matching issues.
FAQ
Q: Can I add affixes to only specific lines?
A: This tool applies to all lines. For conditional filtering, preprocess your text or use other tools.
Q: Does the separator affect output?
A: The separator is only for identifying lines; it doesn’t affect the added prefix/suffix content. The original separator is preserved in output.
Q: Does it support Chinese?
A: Yes, fully—Unicode text works fine.
Q: Can I export the result?
A: Simply copy and paste into any editor or spreadsheet; no special export needed.
แท็ก