On Wednesday, 7 May 2025 at 22:23:36 UTC, Andy Valencia wrote:
Now I want it to be a D string. What's the right way to do this? Performance and memory use are not important; I just want a simple and idiomatic way to get from point A to point B.

https://dlang.org/library/std/string/from_stringz.html

for the opposite see https://dlang.org/library/std/string/to_stringz.html

Reply via email to