#️⃣ 添加行号
为文本添加行号,可自定义序号格式。免费工具。
分享:
🐦 Twitter
📘 Facebook
相关工具
🔤
文本排序工具
🔁
去重工具
↕️
行序反转
🔎
查找替换
📊
词频统计
💎
回文检测
📋 使用说明
1
输入参数
根据提示填写所需参数
2
点击按钮
点击"生成/执行"开始处理
3
获取结果
查看并复制处理结果
关于此工具
为文本添加行号,可自定义序号格式。免费工具。
使用方法
Enter or paste your data in the input fields above
Results update instantly - all processing in your browser
100% free with no signup or account required
工具网络
Skillgohub
Smarttoolgo
Besttoolfun
Quickskillhub
📧 发送结果到邮箱
function initTool() { document.getElementById('tool-app').innerHTML = '
序号宽度:
分隔符:
.
)
空格
添加行号
清空
'; } function doIt() { var lines = document.getElementById('inp').value.split(String.fromCharCode(10)); var pad = parseInt(document.getElementById('pad').value) || 0; var sep = document.getElementById('sep').value; document.getElementById('out').textContent = lines.map(function(l,i){return String(i+1).padStart(pad)+sep+l;}).join(String.fromCharCode(10)); } function clearAll() { document.getElementById('inp').value = ''; document.getElementById('out').textContent = ''; } window.addEventListener('DOMContentLoaded', initTool);
✅ 链接已复制!打开微信粘贴即可发送