Might be Network related cause the String is from a file from a website but i guess the error is general so i post this here:
Code:
System.out.println(line);
String[] part = line.split("|");
System.out.println(part[0]);
System.out.println(part[1]);
Gives me the following output in the Console:
String contains the URL and the File where it should be placed (For a Launcher that can Update my Game) but since splitting the String in those 2 parts doesn’t work well any idea why it’s doing this?