Silence Tai created LANG-1475:
---------------------------------

             Summary: StringUtils.unwrap StringIndexOutOfBoundsException
                 Key: LANG-1475
                 URL: https://issues.apache.org/jira/browse/LANG-1475
             Project: Commons Lang
          Issue Type: Bug
          Components: lang.*
            Reporter: Silence Tai


Call

{code:java} StringUtils.unwrap("a", 'a'); {code}
or
{code:java} StringUtils.unwrap("a", "a"); {code}

Throw Exception:

 *java.lang.StringIndexOutOfBoundsException: begin 1, end 0, length 1*



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to