Replace all 'char' in string to 'charchar' : <p>Bumping into an issue when inserting data to SQLite. In SQLite we have to write two single quote(') when we want to add a value containing (').
<a href="https://stackoverflow.com/questions/12615113/how-to-escape-special-characters-like-in-sqlite-in-android/27082084">How to escape special characters like ' in sqlite in android</a></p>

<hr>

<h2>Question</h2>

<p>How to replace all (') in string to ('')?</p>

<blockquote>
  <p>My bro's watch is 8 o'clock ==> My bro''s watch is 8 o''clock</p>
</blockquote>

<p>It's better if the answer is written in Swift.
Thank you!</p>
