overwrite

fun overwrite(pos: <Error class: unknown class>, val: String): String

Overwrites part of a string, lengthening it if necessary.

Return

@string

Since

2.14

Parameters

pos

the position at which to start overwriting

val

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