Time to check the forum. Bernd has made a very significant contribution.

https://forums.livecode.com/viewtopic.php?f=9&t=36893

> On Apr 5, 2022, at 12:43 AM, Dick Kriesel via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> 
>> On Mar 30, 2022, at 2:16 PM, Paul Dupuis via use-livecode 
>> <use-livecode@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
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to