SyntaxFix
Write A Post
Hire A Developer
Questions
By the way it worth setting up the character encoding as well:
Scanner scanner = new Scanner(new File("C:\\tmp\\edit1.txt"), "UTF-16");