docs: public static int earliestIndexOfAny(String s, Iterable<String> probes, int from) {
      int earliestIdx = -1;
  
      for (final String probe : probes) {
        final int probeIdx = s.indexOf(probe, from);
        // if we found something for this probe
        if (probeIdx >= 0
            // and either we haven't found anything else yet or
            // this is earlier than anything we've found yet
            && (earliestIdx == -1 || probeIdx < earliestIdx)) {
          // then this is our new earliest match
          earliestIdx = probeIdx;
        }
      }
  
      return earliestIdx;
    }