UtfString.opIndex

opIndex. Extracts the nth unicode character from the referenced string.

struct UtfString(Char = char, bool pull_dchars = false)
opIndex
(
size_t index
)

Parameters

index size_t

index of character to extract

Return Value

Type: OutType

the extracted character, either as a dchar or a slice into the input string (depending on the pull_dchars template parameter).

Meta