Store lnkNewChar at position lnkCharIndexPosition. Raise an exception if anIndex is outside the bounds of the array.