title: what is the best way to edit csv file
body: <p>I have a incomplete csv file that needs to be accurately updated, so there is csv file like this :</p>
  
  <pre><code>one,two,three,four,five,six,seven,eight,nine,ten //This is a line(String)
  </code></pre>
  
  <p>Naturally the file is far more complex but in this format, here is what I want to do insert <code>new-word,new-word1, new-word3</code> or n words between seven and eight(or any range). How can I do that? </p>
  
  <p>Pseudo-code,code or example would be great, I don't have a clue how to even start.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Maybe I should convert this to array or some kind of datastructure. Then insert new item at the certain position, shift the rest of the content right and do that for each insertion. </p>
  
  <p>I don't know if is right way to go or how to begin programming it</p>
  
  <p><strong>UPDATE II:</strong></p>
  
  <p>Maybe read in csv in the list, split list into two lists, first one ending with seven. Then add n words to first list and join two lists at the end? also don't know how to program this </p>