Hi, about that insert string algorithm, I've come across someone's notes and they did this:
BEGIN InsertString(start,newData,array)
temp = ExtractString(1,start - 1,array) + newData
temp = temp + ExtractString(start,array.length,data)
InsertString = temp
END InsertString
BEGIN...