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

WordUtils.capitalizeFully behaves in a counterintuitive manner with empty delimiter array.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • None

    Description

      As discussed in TEXT-85, it seems that

      WordUtils.capitalizeFully("i am fine", new char[]{}) // --> i am fine
      

      Both Sebb and Arun think that this is odd and that the letter "i" should have been capitalized resulting in the output I am fine

      Attachments

        Issue Links

          Activity

            People

              chtompki Rob Tompkins
              chtompki Rob Tompkins
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: