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

WordUtils.abbreviate support

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: