i'm trying to use Files.readAllLines to read a file and editing it.
List<String> l = Files.readAllLines(manejador.getArchivo().toPath(), StandardCharsets.UTF_8);
The file has a list of games and its players:
ID: Fm550.0
Federico Schmidt
Iván Petrini
Germán Gómez
Tomás Perotti
ID: VO101000.0
Alex Morgan
So then, i want to check every position in the list to see if it is equals to some ID.
The problem is that when i use Files.readAllLines, i get this:
?ID: Fm550.0
Federico Schmidt
Iván Petrini
Germán Gómez
Tomás Perotti
ID: VO101000.0
Alex Morgan
How can i get rid of that ?
at the beggining?