This is one of those that I never remember, but use a lot whenever I want to pull an entire file into a String quickly. \\A is the start of the file, so Scanner is going to try and split on the beginning of the file. Since there’s only one beginning, there’s only one next.
Posts Tagged: scanner
A couple of months ago we bought an Epson DS-510 scanner. Although I haven’t run it long enough to know how well it holds up, it’s been doing really well so far. One big snag though. The goal was to scan receipts. And most of the time it worked flawlessly. But really long receipts would always… Read more »