Hello, Currently `String` does not expose a method `indexOf(int ch, int fromIndex, int toIndex)`, where the 3rd parameter limits the search to positions up to it (exclusive). JBS issue [1] has been filed as an “Enhancement” to add it to the codebase.
Before preparing a PR and a CSR, I would like to gather opinions and suggestions. Greetings Raffaello ---- [1] https://bugs.openjdk.org/browse/JDK-8302590