in reply to Re: List-to-Range generation
in thread List-to-Range generation

Any chance to structure it so to list padded numbers. I like to convert (0001,0002,0003,011,012,013,015) to "0001-0003,011-013,015". Thanks a lot.

Replies are listed 'Best First'.
Re^3: List-to-Range generation
by hippo (Archbishop) on Jul 22, 2016 at 09:01 UTC

    Our venerable learned brother ZZamboni graces our humble monastery with his esteemed presence only infrequently these days. He last visited some 18 months ago, so you might be waiting a while for a direct reply.

    Other interested parties might wish to know that rmocster subsequently posted his own SoPW question (Convert an array of numbers into a range). You might wish therefore to follow that thread to see not only the context but the ensuing discussion.