Here you can find the source of startsWithCS(String a, String b)
public static boolean startsWithCS(String a, String b)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean startsWithCS(String a, String b) { return a == null || b == null ? false : a.startsWith(b); }//from ww w . j a va2 s .com }