title: C function for separate a string in array of chars
body: <p>I want to create a function to split a text using a separator in C.
  Two parameters <code>text</code> and <code>separator</code> will be passed to the function and the function should return an <code>array of chars</code>.</p>
  
  <p>For example if the string is <code>Hello Word of C</code> and the separator is a <code>white space</code>.</p>
  
  <p>Then the function should return,</p>
  
  <pre><code> 0. Hello 
   1. Word  
   2. of 
   3. C
  </code></pre>
  
  <p>as an array of chars.</p>
  
  <p>Any suggestions?</p>