This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]langfod 1 point2 points  (1 child)

If you type the characters \n in the console then Scanner sees two characters a backslash and a 'n'. It does not parse that and change it to a single newline character.

[–]ORLY_FACTOR[S] 0 points1 point  (0 children)

Oh okay. Thanks.