title: SOQL Escape Characters
body: <p>I'm trying to get my Escape characters to work in Force.com explorer.</p>
  
  <p>This is exactly what the data looks like in Salesforce,</p>
  
  <p>Awaiting Custodian Data - Pending '8'</p>
  
  <p>I need to filter in on this data with a query statement like this,</p>
  
  <p>Where policy__r.Policy_Status__c  = 'Awaiting Custodian Data - Pending '8'' </p>
  
  <p>Here is what I have tried but I cannot get to work,</p>
  
  <p>'Awaiting Custodian Data - Pending \'8\''</p>
  
  <p>'Awaiting Custodian Data - Pending ''8'''</p>
  
  <p>'Awaiting Custodian Data - Pending \'\8\'\'</p>
  
  <p>'Awaiting Custodian Data - Pending '8'' </p>
  
  <p>"Awaiting Custodian Data - Pending \'8\'"</p>
  
  <p>I can't figure out whats not working here, any one got an idea?</p>