Original date:2015-07-27 14:21:28 Edited by: petelomax Subject: Re: better flatten()?

DerekParnell said...

Here's my efforts ...

unfortunately this is what I get:

s = flatten({"abc",'x','y'}, ", ") 
-- s is "abc, xy" 

whereas I was expecting to see "abc, x, y", which is what my latest code above (just updated with a minor edit that did not change the outcome), Greg's, and my hastily-just-updated (which did change the result) version of Greg's code deliver.


Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu