➕ 列表追加项目(在开头、末尾或指定位置插入)Append Items to a List
向列表添加新项目:追加到末尾、插入到开头或第 N 项之后,多个新项目用竖线 | 分隔;可选择跳过列表中已有的项目(避免重复,可忽略大小写),自动识别换行、逗号等分隔符并按原格式输出。适合维护清单、补充名单和批量编辑配置列表,数据在本地处理。Add new items to a list: at the end, at the start, or after item N, with several new items separated by a vertical bar |. Optionally skip items that are already in the list (to avoid duplicates, with case ignored if you like). Separators such as new lines and commas are detected automatically and the original format is kept. Handy for keeping checklists, adding names and editing configuration lists. Processed locally.
使用说明与常见问题How-to & FAQ
「列表追加项目(在开头、末尾或指定位置插入)」是什么?What is the Append Items to a List tool?
向列表添加新项目:追加到末尾、插入到开头或第 N 项之后,多个新项目用竖线 | 分隔;可选择跳过列表中已有的项目(避免重复,可忽略大小写),自动识别换行、逗号等分隔符并按原格式输出。适合维护清单、补充名单和批量编辑配置列表,数据在本地处理。Add new items to a list: at the end, at the start, or after item N, with several new items separated by a vertical bar |. Optionally skip items that are already in the list (to avoid duplicates, with case ignored if you like). Separators such as new lines and commas are detected automatically and the original format is kept. Handy for keeping checklists, adding names and editing configuration lists. Processed locally.
如何使用「列表追加项目(在开头、末尾或指定位置插入)」?How do I use the Append Items to a List tool?
在「列表追加项目(在开头、末尾或指定位置插入)」中,把内容粘贴或输入到上方输入框,按需设置「输入分隔符」、「自定义」、「要添加的项目(多个用 | 分隔)」、「位置」、「N」,结果会实时显示在下方,点击「复制结果」即可复制。In the Append Items to a List: Paste or type into the input box, adjust "Input separator", "Custom", "Items to add (separate with |)", "Position", "N"; the result appears below instantly — click "Copy result" to copy it.
怎样一次添加多个项目?How do I add several items at once?
在“要添加的项目”里用竖线 | 分隔,例如“苹果 | 香蕉 | 樱桃”,每一项前后的空格会被去掉。新项目按填写顺序插入到选定的位置,输出沿用原列表的分隔符(逗号列表仍然是逗号分隔)。Separate them with a vertical bar | in Items to add, such as 'apple | banana | cherry'; spaces around each are trimmed. New items go in at the chosen position in the order you typed them, and the output keeps the original list's separator (a comma list stays comma-separated).
“跳过已有的项目”是怎么判断的?How does Skip items already in the list work?
默认勾选,新项目如果与列表中已有的某一项完全相同(勾选“忽略大小写”则不区分大小写)就不会再添加,新项目之间的重复也只保留一个,结果信息里会显示跳过了几项。取消勾选则全部照常添加。It's on by default: a new item that exactly matches an existing one (ignoring case if Ignore case is ticked) isn't added, and duplicates among the new items are added only once; the status shows how many were skipped. Untick it to add everything as given.
分隔符是怎么自动识别的?How is the separator detected automatically?
“自动识别”按以下顺序判断:有换行就按行分隔,否则依次检查 Tab、分号、逗号(含中文逗号和顿号)、竖线,最后才是空格。用逗号、分号或 Tab 分隔时支持 CSV 式的双引号,例如 "北京, 中国" 会被当作一项。需要其他符号时选择“自定义”,可用 \n 和 \t 表示换行和 Tab。输出沿用原来的分隔符(包括自定义分隔符和中文逗号),含分隔符的项会重新加上双引号;空行默认忽略,不算作项目。Auto-detect works in this order: if there are line breaks, each line is an item; otherwise it checks for tabs, semicolons, commas (including the Chinese comma and enumeration comma), pipes and finally spaces. With comma, semicolon or tab separators, CSV-style double quotes are honoured, so "Paris, France" counts as one item. Choose Custom for anything else; \n and \t stand for a new line and a tab. The output keeps the original separator (including a custom one or the Chinese comma), items that contain the separator are quoted again, and blank lines are ignored by default.
输入和输出是什么样的?What does the input and output look like?
例如在「列表追加项目(在开头、末尾或指定位置插入)」中输入 a ⏎ b,「要添加的项目(多个用 | 分隔)」设为 c,输出为:a ⏎ b ⏎ c(⏎ 表示换行)。For example, the Append Items to a List turns the input a ⏎ b, "Items to add (separate with |)" set to c into: a ⏎ b ⏎ c (⏎ marks a line break).
有哪些选项可以调整?What options can I adjust?
「列表追加项目(在开头、末尾或指定位置插入)」的设置:「输入分隔符」可选 自动识别、换行、逗号、分号、Tab、空格等(默认 自动识别);「自定义」可留空;「要添加的项目(多个用 | 分隔)」默认 新项目 | New item;「位置」可选 末尾、开头、第 N 项之后(默认 末尾);「N」默认 1;可勾选:「跳过已有的项目」(默认勾选)、「忽略大小写」。改动任一选项后结果会按新设置重新生成。Settings in the Append Items to a List — "Input separator": Auto-detect, New line, Comma, Semicolon, Tab, Space, etc. (default Auto-detect); "Custom" optional; "Items to add (separate with |)" default 新项目 | New item; "Position": At the end, At the start, After item N (default At the end); "N" default 1; tick boxes: "Skip items already in the list" (on by default), "Ignore case". Changing any option regenerates the result with the new setting.
处理大段文本会卡吗?Can it handle long text?
「列表追加项目(在开头、末尾或指定位置插入)」在浏览器中直接处理,几 MB 以内的文本通常瞬间完成;文本不会离开你的设备。The Append Items to a List runs in your browser; text up to a few MB is usually processed instantly and never leaves your device.
「列表追加项目(在开头、末尾或指定位置插入)」免费吗?需要注册吗?Is the Append Items to a List free? Do I need an account?
「列表追加项目(在开头、末尾或指定位置插入)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Append Items to a List is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.