You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Pascal Schumacher (JIRA)" <ji...@apache.org> on 2016/12/26 16:35:58 UTC
[jira] [Commented] (TEXT-41) WordUtils.abbreviate support in 3.0
[ https://issues.apache.org/jira/browse/TEXT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15778615#comment-15778615 ]
Pascal Schumacher commented on TEXT-41:
---------------------------------------
Issue moved from commons-lang to commons-text, because WordUtils was ported to commons-text and and the commons-lang version will soon be deprecated.
> WordUtils.abbreviate support in 3.0
> -----------------------------------
>
> Key: TEXT-41
> URL: https://issues.apache.org/jira/browse/TEXT-41
> Project: Commons Text
> Issue Type: New Feature
> Reporter: Mirek Hankus
> Attachments: LANG-766.patch
>
>
> Commons Lang 2.x has method WordUtils.abbreviate(java.lang.String str, int lower, int upper, java.lang.String appendToEnd), which
> # operates on words not Strings as StringUtils.abbreviate
> # it allows to specify what shoud be appended to string (StringUtils.abbreviate always appends "...")
> In 3.0 there is no such method, but it was very usefull. please add support for WordUtils.abbreviate
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)