In Java, I want to print a rather long String to the console, but instead of having it printed as one really long line, I'd like to turn it into a nicely formatted paragraph.
So example:
String something = "abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890"
Would print as
abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890
But I would like something like this
abcdefghijklmnopqrstuvwxyz1234567890
abcdefghijklmnopqrstuvwxyz1234567890
How to make new lines where appropriate without having to do it manually with \n?