title: How to use Enumerable Except in storing the difference of two strings with trimming
body: <p>I can currently use Enumerable except to get the difference of two strings.</p>
  
  <p>My goal is to trim temporary the start of the string by 20 characters of both string[] when checking for the <code>file1Lines.Except(file2Lines)</code> and when it returns a value, I want it to be the complete string[] again</p>
  
  <p>I need to do this because I want to compare all the DIRECTORY of the strings that are in the first but not in the second and save the complete line (with the date time like my string sample)</p>
  
  <p>If I can't use Enumerable Except to achieve this, is there another option?</p>
  
  <p>Here is a sample string that I use:</p>
  
  <pre><code>2009-07-14 04:34:14 \CMI-CreateHive{6A1C4018-979D-4291-A7DC-7AED1C75B67C}\Control Panel\Desktop
  </code></pre>
  
  <p>Here is my sample code:</p>
  
  <pre><code>        string[] file1Lines = File.ReadAllLines(textfile1Path);
          string[] file2Lines = File.ReadAllLines(textfile2Path);
  
          // This currently only gets a non-trimmed string, but if i trim it
          // it will return the trimmed string, I want it to return the full string again
          IEnumerable&lt;String&gt; inFirstNotInSecond = file1Lines.Except(file2Lines);
          IEnumerable&lt;String&gt; inSecondNotInFirst = file2Lines.Except(file1Lines);
  </code></pre>
  
  <p>Thank you and have a nice day</p>