Normalizes the white spaces in the string argument, i.e. when in the string there are
subsequent occurances of spaces, Tabs, NLs, and CRs, they are substituted by one space.
Substitutes all occurances in the first string of letters from the second string with
letters from the third one, which are situated at the position of the old letter in the
second string.