Re: Unfold string array

2020-01-06 Thread Teo via Digitalmars-d-learn
On Monday, 6 January 2020 at 00:03:06 UTC, Temtaime wrote: https://ideone.com/tvpreP That's cool! Thank you very much!

Re: Unfold string array

2020-01-05 Thread Temtaime via Digitalmars-d-learn
On Sunday, 5 January 2020 at 22:39:37 UTC, Teo wrote: On Sunday, 5 January 2020 at 13:37:58 UTC, JN wrote: [...] Thanks for the input. I just realized that I was not precise enough in my description. Apologies for that. My intention is to use std.algorithm, if possible. I read the

Re: Unfold string array

2020-01-05 Thread Teo via Digitalmars-d-learn
On Sunday, 5 January 2020 at 13:37:58 UTC, JN wrote: It's kind of a naive implementation, there probably is room for improvement but should work for start. Thanks for the input. I just realized that I was not precise enough in my description. Apologies for that. My intention is to use

Re: Unfold string array

2020-01-05 Thread JN via Digitalmars-d-learn
On Sunday, 5 January 2020 at 08:21:54 UTC, Teo wrote: All advises are welcome Thank you! For some reason I can't get run.dlang.io to shorten a link... hmm... I'll use ideone. https://ideone.com/EjbhIs It's kind of a naive implementation, there probably is room for improvement but should