Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-41

WordUtils.abbreviate support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • None
    • 1.1
    • None

    Description

      Commons Lang 2.x has method WordUtils.abbreviate(java.lang.String str, int lower, int upper, java.lang.String appendToEnd), which

      1. operates on words not Strings as StringUtils.abbreviate
      2. 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

      Attachments

        1. LANG-766.patch
          6 kB
          Felix Müller

        Issue Links

          Activity

            People

              chtompki Rob Tompkins
              mhankus Mirek Hankus
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: