title: Convert Comma-Separated Strings to multiple String
body: <p>I know this has been answered many times , but I was wondering if someone could teach me the simplest approach to splitting a string (comma separated) i.e string  number=1,2,3,4,5 ,7,8,9,10</p>
  
  <p>such that</p>
  
  <pre><code>1
  2
  3
  4
  5
  6
  7
  8
  9
  10
  </code></pre>
  
  <p>after splitting I want to insert that into Database table as separate row(10 rows).I want to ask how I will do that?whether I have to place them into 10 variables?Just getting a bit confused on the iteration over the string!</p>