in reply to Combine range of numbers.

You might want to check out Consolidate Sequential Number Runs, which contains several fine links, and Super Search to find your answer. I left some lovely gems out there for you to find. C'mon. All the cool kids are doing it...



Code is (almost) always untested.
http://www.justicepoetic.net/

Replies are listed 'Best First'.
Re: Re: Combine range of numbers.
by the_0ne (Pilgrim) on Jan 31, 2004 at 04:51 UTC
    Thanks jweed, my mind keeps thinking "print range", since we are using this for pages in documents, that I didn't search for number range or sequential numbers. :( Thanks for the reply.