title: Android: SQL rawQuery with wildcard (%)
body: <p>I'm having a <code>rawQuery()</code> with following sql string similar to this:</p>
  
  <pre><code>selectionArgs = new String[] { searchString };
  Cursor c = db.rawQuery("SELECT column FROM table WHERE column=?", selectionArgs);
  </code></pre>
  
  <p>but now I have to include a wildcard in my search, so my query looks something like this:</p>
  
  <p>SELECT column FROM table WHERE column LIKE 'searchstring%'</p>
  
  <p>But when the query contains single quotes the following SQLite Exception is thrown: <code>android.database.sqlite.SQLiteException: bind or column index out of range</code></p>
  
  <p>How can I run a rawQuery with selectionArgs inside a SQL query with wildcard elements?</p>