title: python how to delete strings after a keyword
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/549130/delete-chars-in-python">Delete Chars in Python</a>  </p>
  </blockquote>
  
  
  
  <p>I want to know how to delete strings after a keyword in python</p>
  
  <p>I will get lines in a txt file</p>
  
  <p>What method could I use to do this.  </p>
  
  <p>For example:  </p>
  
  <p>"I have a book to read."  </p>
  
  <p>I want to delete all words after "book".  </p>