commons-issues mailing list archives

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


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

View raw message