title: How to escape single and double quotes together in sql lite in android?
body: <p>How to escape single quotes and double quotes, if string is</p>
  
  <pre><code>t"'e'"s""t''
  </code></pre>
  
  <p>in other words how to escape quotes in string which have single and double quotes together.</p>
  
  <p>The example something like this:</p>
  
  <pre><code>    String whereClauseToTracks = MediaStore.Audio.Media.ARTIST + " = '" + artist + "' "; // t"'e'"s""t'' - instead of artist
      Cursor cursorToTracks = mResolver.query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI , new String[] { MediaStore.Audio.Media.ALBUM }, whereClauseToTracks, null, null);
  </code></pre>
  
  <p>I get sql lite exception when string contains quotes.</p>