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