Simple fix for problem. Scanner's fault (!).
Did your fix idea ;-)
(replace all " " with "".. Only problem: the position count on error
results will be imprecise.. But then again.. nah!)