This site requires JavaScript, please enable it in your browser!
Greenfoot back
protocolUnknown
protocolUnknown wrote ...

2019/9/14

Left justify and paragraph form a long line of string

protocolUnknown protocolUnknown

2019/9/14

#
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.
danpost danpost

2019/9/14

#
"At a set number of characters"? -- no. You could just make one yourself, if you wanted, however.
You need to login to post a reply.