title: How do you split a string in C?
body: <p>If I have a string like:</p>
  
  <pre><code>const char* mystr = "Test Test Bla Bla \n Bla Bla Test \n Test Test \n";
  </code></pre>
  
  <p>How would I use the newline character '\n', to split the string into an array of strings?</p>
  
  <p>I'm trying to accomplish in C,  the thing <code>string.Split()</code> does in C# or boost's string algorithm <code>split</code> does in C++ .</p>