Here you can find the source of startsWithIgnoreCase(String searchIn, int startAt, String searchFor)
public static boolean startsWithIgnoreCase(String searchIn, int startAt, String searchFor)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean startsWithIgnoreCase(String searchIn, int startAt, String searchFor) { return searchIn.regionMatches(true, startAt, searchFor, 0, searchFor.length()); }//from ww w . j a va 2 s .co m public static boolean startsWithIgnoreCase(String searchIn, String searchFor) { return startsWithIgnoreCase(searchIn, 0, searchFor); } }