laspan.blogg.se

Notepad++ sort ascending
Notepad++ sort ascending










notepad++ sort ascending

The (at column) means, sorting will be performed from the starting position of your selection (on the first line). Option_ : +Sort lines case (in)sensitive (at column) Option_ : +Sort outputs only UNIQUE (at column) linesĬheck this option if you want to remove duplicate entries/lines, in your case: words. (I guess the maximum length of a word in the list really doesn't matter.)įor simple sorting, you can also use TextFX. In the description, "replace" the 0 by a space character and treat your words as numbers. Now, think about how you could do a similar thing for your words of different lenghts.

notepad++ sort ascending

"Preparing numbers to be sorted by TextFX sort" (Plugin Development forum) To get an idea about what you can do, read this thread: So for example, "bird" is no the same as "BIRD".įor case-insensitive matching, use deletedupes() instead. Use this in combination with sort() or sortcase() to get a sorted list with no duplicate entries. This results in a list of only distinct rows. >DeleteDupesCase(): Deletes any line that is identical to a previous line, with case-sensitive matching. So for example, "bird" matches to "BIRD".įor case-sensitive matching, use deletedupescase() instead. The matching on this is case-insensitive. Use this in combination with sort() to get a sorted list with no duplicate entries. >DeleteDupes(): Deletes any line that is identical to a previous line. I forgot to mention the Simple Script Plug-In also has two functions to remove duplicate lines: DeleteDupes() and DeleteDupesCase(). (I only had to re-write and adapt the previous instruction. Thanks a whole bunch (I can see you went through a lot of work to do it).












Notepad++ sort ascending