I have actually just found the answer to my question:
in the SUBSTITUTE function you can have multiple pairs, e.g.
SUBSTITUTE("boat", "b", "c", "a", "o", "c", "b") = "boot".
First the "b" is changed to...