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

Add method for converting string to an array of code points

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • 3.5
    • 3.6
    • lang.*
    • None

    Description

      Java 7 doesn't offer a method for converting a string to an array of code points. This might be something we could add to StringUtils.

      int[] codePoints = StringUtils.toCodePointArray(someString);
      

      Attachments

        Activity

          People

            dmjones500 Duncan Jones
            dmjones500 Duncan Jones
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: