commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEXT-41) WordUtils.abbreviate support
Date Thu, 04 May 2017 17:32:04 GMT

    [ https://issues.apache.org/jira/browse/TEXT-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15997118#comment-15997118
] 

Rob Tompkins commented on TEXT-41:
----------------------------------

Adding the reference to the removal of this method from WordUtils.

> WordUtils.abbreviate support
> ----------------------------
>
>                 Key: TEXT-41
>                 URL: https://issues.apache.org/jira/browse/TEXT-41
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Mirek Hankus
>             Fix For: 1.1
>
>         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.15#6346)

Mime
View raw message