Can someone tell me how to tell when the end of a line is??
For instance, i have a csv file that we'll say looks like:
Supplies,Computers,24.95,annual,Books,19.95,one-time
Food,Chicken,15.95,annual,Steak,15.95,annual
Clothes,Shirt,9.95,one-time,shorts,5.95,one-time
My question is when reading the file, how can i tell when it has reached the end of each line and begins the next line?? Right now, there is no comma after the one-time column and therefore groups the last word of the line with the first word of the next line.
For instance, i have a csv file that we'll say looks like:
Supplies,Computers,24.95,annual,Books,19.95,one-time
Food,Chicken,15.95,annual,Steak,15.95,annual
Clothes,Shirt,9.95,one-time,shorts,5.95,one-time
My question is when reading the file, how can i tell when it has reached the end of each line and begins the next line?? Right now, there is no comma after the one-time column and therefore groups the last word of the line with the first word of the next line.