title: How can I save a substring of a line from a text file into an array of strings?
body: <p>I have code that reads a <code>.txt</code> file:</p>
  
  <pre><code>Pancho: Juanka,Cony
  </code></pre>
  
  <p>The idea is to find the character <code>':'</code> and save it apart in an array of strings. The same with <code>Juanka</code> and <code>Cony</code> but instead, it's going to be when it finds <code>','</code> and <code>'\0'</code>.</p>