Release Note: New `indexOf(String,int,int)` Variant Added to `String` to Support a Range of Indices

XMLWordPrintable

      A new method `indexOf(String str, int beginIndex, int endIndex)` method is added to `java.lang.String` to support a forward search of `String` `str`, and limited to the specified range of indices.

      Besides full control on the range, it is safer to use than `indexOf(String str, int fromIndex)` because it throws an exception on illegal search ranges.

            Assignee:
            Raffaello Giulietti
            Reporter:
            Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: