Sorting lines
Martin Baxter
mb.userev at harbourhosting.co.uk
Tue May 29 15:58:33 EDT 2007
Ken Ray wrote:
> On Tue, 29 May 2007 18:39:05 +0100, Martin Baxter wrote:
>
>>>> 2;213;13;Josh;215;666
>>>> 3;23;14;Mark;0;0
>>>> 1000;999;10101;Mark;211;555
>>>> 2;214;25;Peter;212:667
>>>> 320;4999;219,Peter;329;366
>>>>
>>> set the itemDelimiter to ";"
>>> sort lines of tVariable by item 4 of each
>> Erm, this doesn't seem to work here in 2.8.1 on win XP. The
>> itemdelimiter appears to be ignored.
>
> Well, I tried it here with the sample above and I got the same result.
> But then I noticd that in the last line, the fourth "item" has a comma
> between "219" and "Peter" instead of a semicolon. When I replaced the
> comma with a semicolon, it sorted properly.
Oh yeah, now that I wipe the grease from my visor, all is clear. ;-)
Martin Baxter
More information about the use-livecode
mailing list