I am studying my final, and I am wondering if there is a way to print the string data in a text file. for example, if the following was in the text file:
11
1c20
203
G2
I was wondering if there is an input method, for example, 2, 4, I would get the output 1c20 203 G2. using two integer beginning and end. I have research for this method, but I can not find anything. I understand that there is getLineNumber (), but I want to use two integers.
Thanks in advance!
source
share