String.insertUnichar

glib.string_.String insertUnichar(ptrdiff_t pos, dchar wc)

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

Parameters

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

Returns

string