[
https://issues.apache.org/jira/browse/LANG-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15567880#comment-15567880
]
Bruno P. Kinoshita commented on LANG-1160:
------------------------------------------
Looks easy to be implemented. I can submit a pull request for this this
weekend.
[~britter] abbreviations will probably be included in [text] too. StringUtils
has 8822 LOC at the moment. Do you reckon it is all right to add this new
method on [lang], or would methods like this on StringUtils be good candidates
to be moved to [text]? I'd be inclined to not add any more features to
StringUtils if [text] is going to have similart code. Or should I drop an
e-mail to the mailing list about it?
> StringUtils.abbreviate() to support "custom ellipses" parameter
> ---------------------------------------------------------------
>
> Key: LANG-1160
> URL: https://issues.apache.org/jira/browse/LANG-1160
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Affects Versions: 3.4
> Reporter: Hendy Irawan
> Priority: Trivial
>
> {{abbreviateMiddle()}} supports custom replacement string.
> {{abbreviate()}} needs to also support this, for example to to use "…"
> Unicode character instead of three "..."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)