in reply to Replacing characters in a string

If your the characters are always the 4th & 5th chars, you might want to look at substr, if they are based on a pattern look at regexes.

"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce