StringG.overwrite

Overwrites part of a string, lengthening it if necessary.

class StringG
overwrite
(
size_t pos
,
string val
)

Parameters

pos size_t

the position at which to start overwriting

val string

the string that will overwrite the @string starting at @pos

Return: @string

Meta

Since

2.14