@Contract(pure = true)
  public static int indexOfSubstringEnd(@NotNull String text, @NotNull String subString) {
    int i = text.indexOf(subString);
    if (i == -1) return -1;
    return i + subString.length();
  }
@Contract(pure = true)
  public static int indexOfSubstringEnd(@NotNull String text, @NotNull String subString)