PDF Mikata

วิธีตัดช่องว่างรอบบรรทัด

เผยแพร่: 19 ต.ค. 2026 | อัปเดต: 19 ต.ค. 2026 | เกี่ยวกับ (ภาษาญี่ปุ่น)

ประเด็นสำคัญ
  • วาง
  • ตัดช่องว่าง
  • คัดลอก

If a copied list has invisible spaces at the start or end of lines, even identical content is judged as different lines. "Remove spaces at the start and end of lines" in Remove Duplicate Lines and Sort a List takes them out.

ขั้นตอน

  1. Paste the list into "Before tidying (one per line)".
  2. Tick "Remove spaces at the start and end of lines".
  3. If needed, also choose "Remove duplicate lines" and "Remove empty lines".
  4. Check "After tidying" and copy with "Copy result".
It removes spaces at the start and end of lines. Spaces between characters are not removed.

Why spaces get in

Kinds of spaces

Some are hard to see.

Why combine with duplicates

"Yamada Taro" and "Yamada Taro " (trailing space) are treated as different lines and not seen as duplicates. Removing the spaces first makes them the same line so the duplicate can be removed.

Spaces between characters

To remove spaces inside a line, use a text editor with find-and-replace or the tool that tidies full-width and half-width.

เหมาะกับ

ตัวอย่าง

Merging two rosters found no duplicates. Trailing spaces were the cause; after choosing "Remove spaces at the start and end of lines", 15 duplicate lines were found.

Common stumbling blocks

Frequently asked questions

Are full-width spaces removed too?

Yes. Spaces at the start and end of lines, including full-width, are removed.

สรุป

Remove surrounding spaces before a duplicate check. Invisible spaces hide duplicates.

ใช้ “ลบบรรทัดซ้ำและเรียงลำดับรายการ” (ฟรี)

เครื่องมือที่ใช้คู่กันได้ดี

หากคู่มือนี้เป็นประโยชน์ ทิปเล็ก ๆ น้อย ๆ จะเป็นกำลังใจอย่างมาก

ส่งทิป (¥300)ส่งของขวัญ (Amazon wishlist)

คู่มืออื่น ๆ ของเครื่องมือนี้

ดูคู่มือทั้งหมด