[Clip] sort by name
- Hi Bong,
> Does NTP have such powerful functions as ability to sortLook at Modify | Lines | Sort...
> selected words in alphabetical order?
Also see the Toolbar and Shortcut Tabs in Options.
While you are in Options look under the Tools tab, "Sort removes
And... then there is:
^$StrSort("Str";CaseSensitive;Ascending;RemoveDuplicates)$ (added in v4.52)
Returns the specified text "Str" sorted according to the defined
criteria. For example, the following instruction will sort the
lines contained in the Clipboard, in ascending order, ignoring
character case, and removing duplicates:
The NoteTab Clip List...
- Hi Bong,
At 19:55 1999-09-05 +0300, you wrote:
>Does NTP have such powerful functions as ability to sort selected words inIf I understand you correctly, you want to sort individual words within a
If I understand NoteTab correctly, you can't do that directly, the sort
function is line oriented.
The following clip tries to sneak aound this. It seems to work OK, but you
should limit your selection to within one line.
^!Set %string%=^$StrReplace(" ";"^p";"^%string%";True;False)$
^!Set %string%=^$StrReplace("^p";" ";"^%string%";True;False)$