I have a problem where I need to invert two characters within a string. For example, if my string is "a*b/c" and I want to replace occurrences of * with / and / with *. I want the resulting string to be "a/b*c". I have a problem where I need to invert two cha