title: For string, find and replace
body: <p>Finding some text and replacing it with new text within a C string can be a little trickier than expected.
  I am searching for an algorithm which is fast, and that has a small time complexity.</p>
  
  <p>What should I use?</p>