code: @NullSafe
    public static int indexOf(String text, String value) {
      return text != null && value != null ? text.indexOf(value) : -1;
    }
docs: Determines the index of the first occurrence of token in the String value.  This indexOf operation is null-safe
  and returns a -1 if the String value is null, or the token does not exist in the String value.
  
  @param text the String value used to search for the token.
  @param value the text to search for in the String value.
  @return the index of the first occurrence of the token in the String value, or -1 if the token does not exist, or
  the String value is blank, empty or null.
  @see java.lang.String#indexOf(String)
  @see #lastIndexOf(String, String)