Hi Mark, I am probably missing something, but items can be separated by multiple itemdelimiters too, but nevertheless the sorting function works, as in this example : get "12,5,,4,10,,,11,24" sort items of it ascending numeric
it returns ,,,4,5,10,11,12,24 and no compilation error... Best regards jbv > On 2015-12-09 12:41, [email protected] wrote: > Words can be separated by multiple spaces, so the question here is that > what would sorting the words of: > > the quick brown fox jumped over the lazy dog > > Give you? > > If you want to sort by (single) space delimited things (i.e. not > 'words', which are both quoted and separated by multiple spaces) you can > just change the item/line delimiter and use items/lines. > > Basically the answer to your question is simply that: > > a) It is not entirely obvious what 'sort the words of' should do. > > b) The case of sorting a list of single space separated things is > already available by fiddling with delimiters and using item/line > chunks. > > Warmest Regards, > > Mark. > > -- > Mark Waddingham ~ [email protected] ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
