UTILITIES NEWBIE

Text counter and list cleanup

Count the original text or clean a line-based list. Every comparison and whitespace choice is explicit; your source remains unchanged.

Input

Lowercase comparison uses Unicode toLowerCase, not full Unicode case folding or locale collation.

Trim uses JavaScript Unicode whitespace rules. It does not normalize internal whitespace.

Applied after the selected trimming step. A whitespace-only line remains nonempty when Preserve is selected.

Maximum 100,000 UTF-16 characters and 10,000 logical lines. Counts use the original text; cleanup options affect list operations only.

Output

Ready. Nothing is saved automatically.

Worked example

Input and settings

Apple
apple
Banana
Apple

Operation: Remove duplicate lines
Comparison: lowercase forms

Result

Apple
Banana

The first spelling wins. Apple and apple compare equal after lowercasing, so the original first Apple is retained. The input terminal newline is preserved in cleanup output.