RFR: 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex) [v4]
Roger Riggs
rriggs at openjdk.org
Wed Mar 1 18:12:16 UTC 2023
On Wed, 1 Mar 2023 16:24:46 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
>> Add an `indexOf()` variant allowing to specify both a lower and an upper bound on the search.
>
> Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision:
>
> 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)
This is looking good.
When the single char version settles, a separate issue/PR should consider adding `indexOf(String str, int fromIndex, int toIndex)` providing the similar index checking variant for finding strings.
-------------
PR: https://git.openjdk.org/jdk/pull/12600
More information about the core-libs-dev
mailing list