Commons Lang
  1. Commons Lang
  2. LANG-159

[lang] Add WordUtils.getInitials(String)

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

      Description

      A useful method for WordUtils would be getInitials(String), which returns a
      String which contains just the initials of each word in the input, perhaps with
      optional capitalisation and spacing between the initials.

        Activity

        Hide
        Stephen Colebourne added a comment -

        Added basic version of this method that gets the initials. Capitalisation can be
        done by the caller.

        Show
        Stephen Colebourne added a comment - Added basic version of this method that gets the initials. Capitalisation can be done by the caller.

          People

          • Assignee:
            Unassigned
            Reporter:
            Kenny MacLeod
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development