scramble a list by units of 2 or more items

c. r.'s icon

hello!

there must be a way to do this but i don't see how… could someone please tell me how to scramble a list by units of two or more items? so, for instance: "i see max and many more kids playing", slice this sentence in 2 word units (via the [iter]) and then permute the order of these 2 word units, leaving them untouched in themselves, though. a possible output would then be: "max and kids playing many more i see".

thanks,

c.

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

c. r.'s icon

thank you! the [tosymbol] and [fromsymbol] are what i was lacking!