how to sort lines with a $ amount

Jerry Jensen jhj at jhj.com
Mon Mar 31 23:37:50 EDT 2014


Oops. So much for not testing. I like Jacqui's the best. Passing each to a function opens a lot of doors.
.Jerry

On Mar 31, 2014, at 8:28 PM, larry at significantplanet.org wrote:

> Jerry,
> Yours was the simplest solution.  Thanks very much!  FYI, I had to leave out "the" to make it work.
> So my script is:
> sort lines of field "myStuff" numeric by char 2 to -1 of word 4 of each
> Larry
> 
> ----- Original Message ----- From: "Jerry Jensen" <jhj at jhj.com>
> To: "How to use LiveCode" <use-livecode at lists.runrev.com>
> Sent: Monday, March 31, 2014 8:48 PM
> Subject: Re: how to sort lines with a $ amount
> 
> 
> If you can really really count on the $ always being present, you could do:
> sort the lines of field "myStuff" numeric by char 2 to -1 of word 4 of each





More information about the use-livecode mailing list