- ตัวดำเนินการ
-
เรียนรู้
ศูนย์การเรียนรู้ Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ ศูนย์การเรียนรู้ C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ ศูนย์การเรียนรู้ C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++
- โจทย์
Text tools
Remove Duplicate Lines
Clean up lists by removing repeated lines, with options for case, spaces and sorting.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the Remove Duplicate Lines
- Paste your list, one item per line.
- Choose which occurrence to keep and other options.
- Copy the cleaned list.
Frequently asked questions
Is the original order kept?
Yes, unless you choose a sort option.
Can I find only the duplicates?
Yes. Choose Only the duplicated lines, or Only lines that appear once for unique values.
Can I see how often each line appears?
Yes. Turn on Show counts to put the count before each line.
ฝึก Python ด้วยโจทย์เขียนโค้ด
แก้โจทย์จริงใน editor นี้: รันทดสอบตัวอย่าง ส่งคำตอบ และรับรีวิวโค้ดจาก AI