title: Can I wrap text to a given width with Guava?
body: <p>I would like to be able to wrap a long String to a fixed length. Is there a way to do that in <a href="http://code.google.com/p/guava-libraries/">Guava</a>?</p>
  
  <p><a href="http://commons.apache.org/lang/">Apache Commons / Lang</a> has the method <a href="http://commons.apache.org/lang/api-2.6/org/apache/commons/lang/WordUtils.html#wrap%28java.lang.String,%20int%29"><code>WordUtils.wrap(String, length)</code></a> that does exactly what I need. Does Guava have a simple means to accomplish this?</p>
  
  <p>I know I can do a hard wrap using <a href="http://guava-libraries.googlecode.com/svn/tags/release09/javadoc/com/google/common/base/Splitter.html#fixedLength%28int%29"><code>Splitter.fixedLength(int)</code></a>, but I would like a soft wrap.</p>
  
  <hr>
  
  <p><strong>UPDATE:</strong> There is now a bounty for this question.</p>
  
  <p>Obviously this functionality isn't available in Guava out of the Box, so the bounty goes to the most concise (or most complete) and Guava-like answer that uses what's there in Guava. No libs except Guava allowed.</p>