in reply to Replacing letters in one string based on another

Can you guarantee that all letters in the strings to be merged are the same except where there is an 'X'? If so BrowserUK's solution is what you are looking for. If not then you have a little more work to do and you need to specify what ought happen for mismatched characters.

True laziness is hard work
  • Comment on Re: Replacing letters in one string based on another