title: How to parse a string separated by commas?
body: <pre><code>Char *strings = "1,5,95,255"
  </code></pre>
  
  <p>I want to store each number into an int variable and then print it out. </p>
  
  <p>For example the output becomes like this. </p>
  
  <p>Value1 = 1</p>
  
  <p>value2 = 5</p>
  
  <p>Value3= 95 </p>
  
  <p>value4 = 255</p>
  
  <p>And I want to do this inside a loop, so If I have more than 4 values in strings, I should be able to get the rest of the values. </p>
  
  <p>I would like to see an example for this one. I know this is very basic to many of you, but I find it a little challenging. </p>
  
  <p>Thank you</p>