code: public static int indexOf( String text , String needle , int fromIndex , boolean ignoreCase )
      {
          if (ignoreCase)
              return indexOfIgnoreCase(text,needle,fromIndex);
          else
              return text.indexOf(needle,fromIndex);
      }
docs: Case-aware version of startsWith()