Replacing is the action of searching a string for a sub-string and replacing it with a different string.