This is Python 2.6.6 code (shell): >>> "x".join("123") '1x2x3' This is handy in several situations. So I'd like std.string.join() to join chars in a similar way: join("123", "x") ==> "1x2x3" See also bug 4468
In Python and Haskell: >>> s = "language" >>> "|".join(s) 'l|a|n|g|u|a|g|e' Prelude> intersperse '|' s Prelude Data.List> intersperse '|' s "l|a|n|g|u|a|g|e"
superseded by issue 8851
(In reply to Robert Schadek from comment #2) > superseded by issue 8851 They are different requests.
This is a one liner, string input = "123"; auto result = input.roundRobin('x'.repeat(input.length - 1)); Going off of Walter's comments in this PR, https://github.com/D-Programming-Language/phobos/pull/4153, I am marking this as WONTFIX.