I have a set of sentences i need to use to do a replace, for example:
abc => cde
ab df => de
...
And i have a text where to make the chan
You could use String.IndexOf with StringComparison.CurrentCultureIgnoreCase
specified to find a match. At that point, a character by character replacement would work to do the swap. The capitalization could be handled by checking with Char.IsUpper for the source character, and then using Char.ToUpper or Char.ToLower on the destination as appropriate.