title: How to turn a list of values from a rich textbox to formatted list C#
body: <p>I have a rich textbox where the user will enter values like this with a line return after each line. </p>
  
  <pre><code>   A12345
     B12345
  </code></pre>
  
  <p>I want to reformat these values into a like this, to put in a SQL <code>IN</code> clause</p>
  
  <pre><code>   ('A12345', 'B12345')
  </code></pre>
  
  <p>Note: the last value can't have a <code>[,]</code> following.</p>
  
  <p>Thanks!</p>