On 1/22/11, spir <denis.spir at gmail.com> wrote: > In years and years of string processing, I have used maxreplace once, I > guess, and the value was not 1. Isn't Andrei talking about std.algorithm.replace, which should work with any range and not just strings?