https://issues.dlang.org/show_bug.cgi?id=10379
Seb <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |FIXED --- Comment #3 from Seb <[email protected]> --- 2.079 will ship with substitute: https://dlang.org/changelog/pending.html#std-algorithm-iteration-substitute It doesn't use an internal table and is fully lazy and @nogc. Its generic and works with any kind of range (+strings) and single chars. Moreover, there's tr and translate in std.string: https://dlang.org/phobos/std_string.html#.tr https://dlang.org/phobos/std_string.html#.translate --
