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

StringUtils.substringBetween() java Document update

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Information Provided
    • None
    • None
    • lang.*
    • None

    Description

      The example of java document is incorrect.

       

      This is not incorrect: 

      StringUtils.substringBetween("yabczyabcz", "y", "z")   = "abc"

      This is correct: 

      StringUtils.substringBetween("yabczyabcz", "y", "z")   = "abczyabc"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              typark taeyongpark
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m