Here you can find the source of startsWith(String check, String doesStartWith)
public static boolean startsWith(String check, String doesStartWith)
//package com.java2s; //License from project: Open Source License public class Main { public static boolean startsWith(String check, String doesStartWith) { return check.startsWith(doesStartWith); }/*from w ww . ja va 2 s .c o m*/ }