commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <>
Subject [jira] Commented: (LANG-566) Replace lastIndexOf methods with -ve index support?
Date Sun, 03 Jan 2010 07:20:54 GMT


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

> Replace lastIndexOf methods with -ve index support?
> ---------------------------------------------------
>                 Key: LANG-566
>                 URL:
>             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.

View raw message