title: How to delete a specific line of a text file?
body: <p>So, I have been browsing tall and high for a solution, but came up short. So, here is my problem:</p>
  
  <p>how do I write a program, that will delete a specific line from a text file?</p>
  
  <p>The information is as follows:</p>
  
  <pre><code>Lukas;11111111;x6 y8
  John;22222222;x7 y10
  Fred;44444444;x8 y15
  </code></pre>
  
  <p>The info is basically name, phone number and coordinates.</p>
  
  <p>How would I be able to do delete Fred from this?</p>
  
  <p>I can provide my full code if needed.</p>