StringG.insert

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

class StringG
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: StringG

string