I have looked on the internet regarding this issue and could not find a definitive answer so I posted the question here.
Which one do I use if I want to change something to something else?
Example imperative sentence:
Change that code with/to? this code.
In this instance - change to or change with?