Set line length for a string
The problem I'm trying to solve is given a string that may contain
carriage returns, insert additional carriage returns such that each line
does not exceed a set number of characters. Also it should try to keep a
word intact if possible.
Is there a library in either Java or Scala that does what I need?
Thanks.
No comments:
Post a Comment