[ https://issues.apache.org/jira/browse/LANG-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12795956#action_12795956 ]
Paul Benedict commented on LANG-566: ------------------------------------ Anything you can do to the front of the string, you can also do to the end of the string. I like the negative aspects of this (pun intended), but it doesn't guard against mathematical mistakes. > Replace lastIndexOf methods with -ve index support? > --------------------------------------------------- > > Key: LANG-566 > URL: https://issues.apache.org/jira/browse/LANG-566 > Project: Commons Lang > Issue Type: Improvement > Components: lang.* > Reporter: Henri Yandell > Fix For: 3.0 > > > Random idea from a conversation with Paul. > What if StringUtils.indexOf supported -ve indices instead of forcing > developers to deal with lastIndexOf? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.