title: What's the cleanest way to get record as string in FileHelpers?
body: <p>When I'm parsing a text file, and importing it in my application through the (truly wonderful) FileHelpers library, for each error that occurs I want to log in a separate text file the record that failed (along with the error of course), like</p>
  
  <pre><code>Error: The record ..... failed with error ....
  </code></pre>
  
  <p>This brings the question in the title: I see there's the method 
  <code>WriteString(IEnumerable&lt;T&gt;)</code>, but if I call</p>
  
  <pre><code>string recordAsString = engine.WriteString(new List&lt;T&gt;() { record });
  </code></pre>
  
  <p>the result string contains a new line in it, and the only way I managed to "clean" it is</p>
  
  <pre><code>recordAsString = recordAsString.Substring(0, recordAsString.Length - 2);
  </code></pre>
  
  <p>Is there a cleaner way, ie a method that returns the record as a string that doesn't contain any new line?</p>
  
  <p>Thank you</p>