Good morning,
I want to read a .txt file using Scanner in this format:
Scanner scan = < trains>< intercity>< from>< stationname>
Question: how to seperate the tokens such that I will remain with tokens
trains intercity from stationname
such that I can use scan.next()
?
Thank you very much!