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

Rumbu rumbu at rumbu.ro
Sat Dec 11 18:51:12 UTC 2021


On Saturday, 11 December 2021 at 14:42:53 UTC, russhy wrote:
> Here is mine
>
> - 0 allocations
>
> - configurable
>
> - let's you use it how you wish
>
> - fast
>


You know that this is already in phobos?


```
"abc;def;ghi".splitter(';').joiner
```



More information about the Digitalmars-d-learn mailing list