prefix

Combine a series of text segments together, each prepended with a prefix pattern. An optional output buffer can be provided to avoid heap activity - it should be large enough to contain the entire output, otherwise the heap will be used instead.

Note that, unlike join(), the output buffer is specified first such that a set of trailing strings can be provided.

Returns a valid slice of the output, containing the concatenated text.

prefix
(,,
const(char[])[] src...
)

Meta