RFR: 8302590: Add String.indexOf(int ch, int fromIndex, int toIndex)

ExE Boss duke at openjdk.org
Fri Feb 17 21:24:26 UTC 2023


On Thu, 16 Feb 2023 17:16:35 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.

Could we also get a similar overload for `String::lastIndexOf`?

-------------

PR: https://git.openjdk.org/jdk/pull/12600


More information about the core-libs-dev mailing list