I tried looking for similar questions that could find an answer to my question but i couldn't seem to find it. Could someone please tell me is there any way to read certain lines from the .txt file. For example i would like to read lines 2,3,5 from the text file.
Example of text file:
1255466889436 //Line 1 - I want to read this line
5489784642165 //Line 2
4984651425165 //Line 3 - I want to read this line
4968164816514 //Line 4
4161654168468 //Line 5 - I want to read this line
It would be nice if somone could show example code cause im really stumped at the moment.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…