Overwrites part of a string, lengthening it if necessary.
this | |
pos |
the position at which to start overwriting |
val |
the string that will overwrite the this starting at |
this |