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

new StringUtils.split methods that split on the whole separator string

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • lang.*
    • None
    • Operating System: other
      Platform: Other

    • 24910

    Description

      In other languages, the string split method can split a string using a whole
      string as the delimiter rather than using the separator string as a list of
      characters at which to split the string-to-be-split. I've implemented these
      methods a few times, and I've given them the signature split( String, String,
      boolean[, int] ) so that they can delegate to the existing lang split( String,
      String[, int] ) methods where appropriate.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--StringUtils.java.diff.zip
          14 kB
          Albert Davidson Chou
        2. ASF.LICENSE.NOT.GRANTED--StringUtilsTest.java.diff.txt
          24 kB
          Albert Davidson Chou
        3. ASF.LICENSE.NOT.GRANTED--StringUtils.java.diff.txt
          67 kB
          Albert Davidson Chou

        Activity

          People

            Unassigned Unassigned
            hotfusionman@yahoo.com Albert Davidson Chou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: