Skip to content
Advertisement

Tag: reader

Extraction of string and integer from txt

I’m trying to make a simple scanner reader to read from a txt stored in C:UsersjamesDesktopprojectfiles and it’s called data “data.txt”, the thing is that the information stored is like this: So as you can see the spaces between the string and the integer that I want o extract are random. I was trying to make this: But the split

Advertisement