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

forkit forkit at gmail.com
Fri Dec 10 22:10:33 UTC 2021


On Friday, 10 December 2021 at 12:15:18 UTC, Rumbu wrote:
>
> I thought it's a beauty contest.
>

Well, if it's a beauty contest, then i got a beauty..

char[("abc;def;ab".length - count("abc;def;ab", ";"))] b = 
"abc;def;ab".replace(";", "");



More information about the Digitalmars-d-learn mailing list