文本行号添加器

为文本自动添加行号,支持起始编号与空行跳过

输入

1 · 0 字符

输出

0

示例

输入
Apple\nBanana\nCherry
输出
001. Apple\n002. Banana\n003. Cherry