Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-219

WordUtils.capitalizeFully(String str) should take a delimiter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • None
    • Operating System: All
      Platform: All

    • 23557

    Description

      We would like to use capitalizeFully(String str) from
      org.apache.commons.lang.WordUtils to capitalise names. Unfortunately we cannot
      capitalise the second part of a hyphenated name ("cholmondley-warner"
      becomes "Cholmondley-warner" not "Cholmondley-Warner") as capitalizeFully only
      separates words with spaces.

      If capitalizeFully took a delimiter as an argument then we could pass in a
      hyphen and successfully capitalise our names.

      Thanks,

      Phil.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pizzey@ntlworld.com Philip Pizzey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: