UtfString.sliceCopy

Slice / copy. Extracts an indexed sequence of unicode characters from the referenced string and copies them into the provided buffer.

The returned slice is built up in the passed string.

struct UtfString(Char = char, bool pull_dchars = false)
sliceCopy
(
size_t start
,
size_t end
,)

Parameters

start size_t

index of first character to extract

end size_t

index of last character to extract

output ArrayOutType

string into which the sliced characters are placed

Return Value

the sliced characters (either as dchars or as the same type as the referenced string).

Meta