title: "replace" function examples
body: <p>I don't find the help page for the <code>replace</code> function from the <code>base</code> package to be very <em>helpful</em>. Worst part, it has no examples which could help understand how it works.</p>
  
  <p>Could you please explain how to use it? An example or two would be great.</p>