On Friday, 2 April 2021 at 05:39:26 UTC, mw wrote:
> Finally, I'm using:
>
> https://run.dlang.io/is/651lT6
>
> string t = text("head-", s[].until('\0').array, "-tail");
FYI, you don't need the call to `.array` there--`text` accepts
input ranges.