function ReplaceSubstr$(src$, rpc$, pos)
Overwrites the characters at the given position in src$ with rpc$.