SyntaxFix
Write A Post
Hire A Developer
Questions
On Windows, line.separator is a CR/LF combination (reference here).
The Java String.split() method takes a regular expression. So I think there's some confusion here.
String.split()