Dave Phillips wrote: > [snip] So little time, so many neat solutions. My thanks to all who responded, I've been edified. I settled for Wolfgang's solution, it's short, sweet, and comprehensible. However, markc's solver gets best marks for compression. Thanks again. :) Best, dp