Как узнать, сколько строк удалено
Главное
- Вставка
- Наведите порядок
- Проверьте числа
When removing duplicates, it matters to check how many lines disappeared. If more or fewer than expected were removed, it is a sign to review the settings. Remove Duplicate Lines and Sort a List shows three line counts.
Шаги
- Paste the list into "Before tidying (one per line)".
- Choose how to tidy (remove duplicates, remove empty lines, remove spaces).
- In the result area, check these three numbers.
- "Original line count"
- "Line count after"
- "Lines removed"
- When satisfied with the numbers, copy with "Copy result".
"Lines removed" is "Original line count" minus "Line count after".
Reading the numbers
- Lines removed is 0: there were no duplicates or empty lines, or the options are off.
- Fewer than expected: spaces or case differences mean lines are not judged duplicates.
- More than expected: "Remove empty lines" removed many empty lines at once, or there were many identical lines.
Как проверить
- See whether the number removed is as expected.
- If it differs, change the options one at a time and watch how the number changes.
- Check "After tidying" by eye.
Counting empty lines and duplicates separately
To know which removed them, first remove only the empty lines and look at the number. Then remove duplicates and look at the number again.
Подходит для
- Keeping a record of tidying a roster or list
- Reporting how many duplicates there were
- Suspecting unexpected duplicates
Пример
For a 200-line list, 3 lines were removed. Having expected about 10, adding the option to remove spaces made it 12.
Common stumbling blocks
- How lines are counted: an empty line after the final line break may be counted.
- Line count changes on pasting: check the format of the source.
Frequently asked questions
Can I see the content of the removed lines?
This tool shows only the counts. To check content, review the "before" field.
Итог
Check the result with the three line counts. If it differs from expectation, review the settings.
Использовать «Удалить повторяющиеся строки и отсортировать список» (бесплатно)Инструменты, которые хорошо сочетаются с этим
- Убрать и привести в порядок переводы строк в тексте: Приведите в порядок переводы строк в тексте, скопированном из PDF и других источников.
- Счётчик символов (для заявок и работ): Считайте символы, строки и листы рукописи в вашем тексте.
- Преобразование полноширинных, полуширинных символов, хираганы и катаканы: Преобразуйте полноширинные/полуширинные символы и хирагану/катакану.
Если это руководство помогло, небольшие чаевые будут очень ценны.
Отправить чаевые (¥300)Отправить подарок (список желаний Amazon)