Sorting text
Mark Smith
mark at maseurope.net
Wed Mar 7 04:19:51 EST 2007
Greg, you can certainly sort items, but what an item is depends on
what the global property "the itemDelimiter" is (it defaults to comma).
So if you want to sort the words in a container, you might try
set the itemDelimiter to space
sort items of tContainer
You can sort lines and items, but I don't think you can sort words.
Best,
Mark
On 7 Mar 2007, at 09:45, Greg Wills wrote:
>
> 2. Sorting. I am using the "sort" command to sort the words in a
> container from the text field, but they are not sorting. If I use
> a few lines of text, then these get sorted, but I was under the
> impression that if the line "sort items of holder" (holder as a
> variable) is used, then the words in a container would be sorted.
> But it is not.
>
More information about the use-livecode
mailing list