sorting words ?
Geoff Canyon
gcanyon at gmail.com
Fri Dec 11 22:54:07 EST 2015
On Fri, Dec 11, 2015 at 8:39 PM, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
> 2) The List is outputted with a single space between each segment. This
> would mean that if there happened to be tabs or multiple spaces between
> certain segments, these would be removed/converted. This is helpful.
>
> 3) A straight reshuffle, where the actual segments are reordered whilst
> preserving the white space location:
>
>
> [tab][tab]Mark[space][space]Geoff[tab]Kevin[space][tab]Richard[space][space]
>
> would become:
>
>
> [tab][tab]Geoff[space][space]Kevin[tab]Mark[space][tab]Richard[space][space]
>
Either of these two would make sense to me. As long as we're writing
specs, 3 could be:
sort words of someString
and 2 could be:
sort words of someString collapsing whitespace
More information about the use-livecode
mailing list