StringChunk.insert

Adds a copy of string to the glib.StringChunk It returns a pointer to the new copy of the string in the glib.StringChunk The characters in the string can be changed, if necessary, though you should not change anything after the end of the string.

Unlike StringChunk.insertConst, this function does not check for duplicates. Also strings added with StringChunk.insert will not be searched by StringChunk.insertConst when looking for duplicates.

class StringChunk
string
insert
(
string string_
)

Parameters

string_ string

the string to add

Return Value

Type: string

a pointer to the copy of string within the glib.StringChunk