pc wrote: [snip] This looks great, but for inclusion in Phobos I'd love to do two things about it: 1. Make it work with any ranges of characters, not only strings. 2. Make it lazy, i.e. output a range. Andrei