title: split strings into many strings by newline?
body: <p>i have incoming data that needs to be split into multiple values...ie.</p>
  
  <blockquote>
    <p>2345\n564532\n345634\n234 234543\n1324 2435\n</p>
  </blockquote>
  
  <p>The length is inconsistent when i receive it, the spacing is inconsistent when it is present, and i want to analyze the last 3 digits before each \n. how do i break off the string and turn it into a new string? like i said, this round, it may have 3 \n commands, next time, it may have 10, how do i create 3 new strings, analyze them, then destroy them before the next 10 come in? </p>
  
  <pre><code>string[] result = x.Split('\r');
  result = x.Split(splitAtReturn, StringSplitOptions.None);
  string stringToAnalyze = null;
  
  foreach (string s in result)
  {
      if (s != "\r")
      {
          stringToAnalyze += s;
      }
      else
      {
  
            how do i analyze the characters here?
      }
  }
  </code></pre>