faraz akram

faraz akram

  • NA
  • 154
  • 0

Parsing a text file

Feb 18 2009 1:57 AM

hi  i need a piece of code that parse each sentence of a text file three times

the input sentence is like

"12345","abc efg","1234555555","3"

 

the out put should be like..

"12345","abc efg","1234555555","3","12345-1.jpg","0"

"12345","abc efg","1234555555","3","12345-2.jpg","0"

"12345","abc efg","1234555555","3","12345-3.jpg","0"

shortly its should parse each line three times and append -1.jpg,"0" along with first column of each line

hope u undrestansd wot i want

waiting..


Answers (3)