String.insert

Inserts a copy of a string into a #GString, expanding it if necessary.

class String
insert
(
ptrdiff_t pos
,
string val
)

Parameters

pos ptrdiff_t

the position to insert the copy of the string

val string

the string to insert

Return Value

Type: glib.string_.String

string