You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2010/01/03 08:16:54 UTC

[jira] Commented: (LANG-280) Improve wrap method on WordUtils

    [ https://issues.apache.org/jira/browse/LANG-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795955#action_12795955 ] 

Paul Benedict commented on LANG-280:
------------------------------------

The easy solution is to call split() on the returning String.

> Improve wrap method on WordUtils
> --------------------------------
>
>                 Key: LANG-280
>                 URL: https://issues.apache.org/jira/browse/LANG-280
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.*
>    Affects Versions: 2.1
>            Reporter: David Leal
>             Fix For: 3.0
>
>
> Just to suggest to add methods that return String[] too. With such methods you have the control of each line wrapped.
> Consider additional parameter that fill with blanks to the end of the wrapLength, usefull for printing lines with same lengths, for example to be used for printing information in text table with fixed length for each row.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.