Replace-func
This function is used to replace n characters in string within$, starting at StartPosth position with string replace$. replace$ may be different length than n.
string Replace(string within$, int StartPos, int n, string replace$)
within$
StartPos
n
replace$
A new string containing replace$.
string nn$=Replace(abcdefghijklmn,3,5,123456)$; nn$=; //Should return "AB123456HIJKLMN".
Substitute