Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id ED76F200BE9 for ; Mon, 26 Dec 2016 17:35:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EC13B160B3B; Mon, 26 Dec 2016 16:35:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6986A160B0E for ; Mon, 26 Dec 2016 17:35:59 +0100 (CET) Received: (qmail 96420 invoked by uid 500); 26 Dec 2016 16:35:58 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 96398 invoked by uid 99); 26 Dec 2016 16:35:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Dec 2016 16:35:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 660E32C1F54 for ; Mon, 26 Dec 2016 16:35:58 +0000 (UTC) Date: Mon, 26 Dec 2016 16:35:58 +0000 (UTC) From: "Pascal Schumacher (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEXT-41) WordUtils.abbreviate support in 3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 26 Dec 2016 16:36:00 -0000 [ 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)