How to loop through characters of a string in D language?

IGotD- nise at nise.com
Fri Dec 10 11:06:21 UTC 2021


On Friday, 10 December 2021 at 06:24:27 UTC, Rumbu wrote:

>
> Since it seems there is a contest here:
>
> ```d
> "abc;def;ghi".split(';').join();
> ```
>
> :)

Would that become two for loops or not?


More information about the Digitalmars-d-learn mailing list