Multiply a string?

Andy Valencia dont at spam.me
Sat Jun 7 16:13:06 UTC 2025


In logging output, I often want indentation.  In Python, the 
output is built like:

```
print(" " * ddepth, "data at this level: ", datum)
```

Which is to say, build a string by concatenating " " ddepth 
times.  Is there a comparable idiom in dlang or Phobos?

Thanks!
Andy



More information about the Digitalmars-d-learn mailing list