title: Trim a line on a text file from a website after making a list
body: <p><strong>Overview</strong></p>
  
  <p>Hey, what I am trying to do is create an add-on for a game where when they join it will check on my website a list of names I have in a text file.</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code>public override void Init()
  {
  
      Player.Joined += (object sender, PlayerEventArgs e) =&gt;
      {
          string autokick = new WebClient().DownloadString("http://leeizazombie.cba.pl/server/autokick.txt");
          StringReader sr = new StringReader(autokick);
          List&lt;string&gt; autokicklist = new List&lt;string&gt;();
          while (sr.Peek() != -1)
          {
              string line = sr.ReadLine();
              autokicklist.Add(line);
          }
          if (autokicklist.Contains(e.Player.name))
          {
              e.Player.Kick("Auto-Kick: "); //Reason goes in this part after kicking the player.
          }
      };
  }
  </code></pre>
  
  <p><strong>Problem</strong></p>
  
  <p>I can't figure out how to get the reason part of the text and exclude the reason part when searching each line, This is an example of a line:</p>
  
  <blockquote>
    <p>LeeIzaZombie+ : Kicked for a test run.</p>
  </blockquote>
  
  <p>Where LeeIzaZombie+ is the username and "Kicked for a test run." is the reason.</p>