|
to string or not to string
while (!str.equalsIgnoreCase(" //*")) {
img[i].infotext = img[i].infotext.concat(str + "\n");
str = scanner.nextLine();
}
The marker //* appears on each new line and by reading the string line by line the code actually works including the line breaks
to string or not to string
willemjav
|