in reply to Display array as ranges?

If you want something shorter, try List-to-Range generation

(Please do not upvote this node! Japhy did all the clever stuff, I just remembered where it was (cos I stole ideas from it:))


Examine what is said, not who speaks.
Silence betokens consent.
Love the truth but pardon error.

Replies are listed 'Best First'.
Re^2: Display array as ranges?
by xipho (Scribe) on Jan 17, 2005 at 05:38 UTC
    Thanks- exactly along the lines of what I was looking for.