setat
Use this function to replace a character with another character at the given offset.
Parameters: string, offset, character
You can also specify a negative offset, which will calculate the start of the offset from the end of the string.
The following formula replaces "a" with "b" at the specified offset of 0. The result is "baa".