I'm trying to write a function that can decode a message by switching pairs of characters around.
Say I have the message hello! which, when encoded, turns into ehll!o.
Is there an existing function in Oracle that lets me replace characters at specified positions with other characters of my choosing?