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

StringUtils lastIndexOf(String str, char searchChar, int startPos) not working

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: lang.*
    • Labels:
      None

      Description

      returns -1 when I call this method on a Sting with a char present after the startPos indicated

      not sure if it's been fixed in more recent version of the library. I have not seen any JIRA ticket regarding this issue though

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adrien be Adrien Berthou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: