title: AttributeError: 'list' object has no attribute 'replace' when trying to remove character
body: <p>I am trying to remove the character ' from my string by doing the following</p>
  
  <pre><code>kickoff = tree.xpath('//*[@id="page"]/div[1]/div/main/div/article/div/div[1]/section[2]/p[1]/b[1]/text()')
  kickoff = kickoff.replace("'", "")
  </code></pre>
  
  <p>This gives me the error AttributeError: 'list' object has no attribute 'replace'</p>
  
  <p>Coming from a php background I am unsure what the correct way to do this is?</p>