Confirm sort container order...

Dick Kriesel dick.kriesel at mail.com
Tue Apr 5 00:43:11 EDT 2022


> On Mar 30, 2022, at 2:16 PM, Paul Dupuis via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> sort lines of tText by word 1 of each & word 2 of each & word 3 of each

Hi, Paul.

The only feature missing is padding the first two words:

   sort tText by pad( word 1 of each ) & pad( word 2 of each ) & word 3 of each


function pad tString
   put "" into item 1000 of tString
   replace comma with space in tString
   return char 1 to 1000 of tString
</code>

Does that work for you?

— Dick


More information about the use-livecode mailing list