commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LANG-280) Improve wrap method on WordUtils
Date Sun, 03 Jan 2010 07:16:54 GMT

    [ 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.


Mime
View raw message