title: Special characters remove?
body: <p>How to  remove special characters from a string in apex.</p>
  
  <p>Code:
  selectedStatus = ApexPages.currentPage().getParameters().get('ideaStatus');</p>
  
  <p>value: ideastatus = "We like's it"</p>
  
  <p>I want to remove the ' from the value of ideastatus.</p>
  
  <p>I am trying  selectedStatus.replace("'","");</p>
  
  <p>But its not working.</p>
  
  <p>Can anybody suggest how?</p>