On Monday, 3 January 2022 at 02:50:46 UTC, Steven Schveighoffer wrote:
On 1/2/22 4:15 AM, eugene wrote:
On Sunday, 2 January 2022 at 08:39:57 UTC, eugene wrote:
```d
     writefln("'%s, world'", cast(char[])b[].until('\n'));
}
```

You missed a set of parentheses.

That was lack of attention from my side, sorry :)

A couple of impressions...

* Does .until() make a copy of original string? And GC then will take care of it? * So many ways to do simple C printf("%s", (char*)buf)... I am feeling like Buridan's ass

Reply via email to