YAMP.ParseEngine.Replace C# (CSharp) Method

Replace() private method

Replaces a character at a specified index by the given one.
private Replace ( Int32 index, Char replacement ) : ParseEngine
index System.Int32 The index of the character to be replaced.
replacement Char The character to replace the old one.
return ParseEngine
        internal ParseEngine Replace(Int32 index, Char replacement)
        {
            if (index >= 0 && index < _characters.Length)
            {
                _characters[index] = replacement;
            }

            return this;
        }