You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/06/14 14:49:20 UTC

[jira] [Commented] (LANG-899) StringUtils lastIndexOf(String str, char searchChar, int startPos) not working

    [ https://issues.apache.org/jira/browse/LANG-899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13683321#comment-13683321 ] 

Gary Gregory commented on LANG-899:
-----------------------------------

Please if your use case is covered in trunk in the method org.apache.commons.lang3.StringUtilsEqualsIndexOfTest.testLastIndexOf_StringInt()

If not, and the trunk code fails for you, please provide your use case, preferably as a patch.
                
> StringUtils lastIndexOf(String str, char searchChar, int startPos) not working
> ------------------------------------------------------------------------------
>
>                 Key: LANG-899
>                 URL: https://issues.apache.org/jira/browse/LANG-899
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>    Affects Versions: 2.4
>            Reporter: Adrien Berthou
>
> 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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira