I have in my text file called "lectura.txt":
lectura.txt
----------------------------------------------------------
Sandra Bullock
Edmundo Wilson
Daniel Perez
Peter Julius
Anthony Hopkins
Paola Sandoval
Giovanna White
----------------------------------------------------------
But, I want learn the second row, from the position 3 to 7
the word "mundo".
In the sixth row, from the position 8 to 11 the word "ando".
The result words "mundo" and "ando", put in another text file called "salida.txt".
Results:
salida.txt
-----------------------------------------------------
mundo
ando
-----------------------------------------------------
If anybody know the code for it, I will be thanksfully.
Paola S
lectura.txt
----------------------------------------------------------
Sandra Bullock
Edmundo Wilson
Daniel Perez
Peter Julius
Anthony Hopkins
Paola Sandoval
Giovanna White
----------------------------------------------------------
But, I want learn the second row, from the position 3 to 7
the word "mundo".
In the sixth row, from the position 8 to 11 the word "ando".
The result words "mundo" and "ando", put in another text file called "salida.txt".
Results:
salida.txt
-----------------------------------------------------
mundo
ando
-----------------------------------------------------
If anybody know the code for it, I will be thanksfully.
Paola S