commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pascal Schumacher (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEXT-41) WordUtils.abbreviate support in 3.0
Date Mon, 26 Dec 2016 16:35:58 GMT

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

Mime
View raw message