StringG.insertUnichar

Converts a Unicode character into UTF-8, and insert it into the string at the given position.

class StringG
insertUnichar
(
ptrdiff_t pos
,
dchar wc
)

Parameters

pos ptrdiff_t

the position at which to insert character, or -1 to append at the end of the string

wc dchar

a Unicode character

Return: @string

Meta