insert

fun insert(pos: Long, val: String): String

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

Return

@string

Parameters

pos

the position to insert the copy of the string

val

the string to insert