Is there a method in java that allows for a string like this: "This is test string to left justify and set line breaks at a set number of characters" into this:
"This is test string to left
justify and set line breaks
at a set number of
characters"
I want to be able to make a string variable equal to that above^, instead of having it print out using printf into the console output.
Thank you.