title: Split string with delimiters in C
body: <p>How do I write a function to split and return an array for a string with delimiters in the C programming language?</p>
  
  <pre><code>char* str = "JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC";
  str_split(str,',');
  </code></pre>