public static boolean StartsWith(String first, String second) { if (first.indexOf(second) == 0) { return true; } else { return false; } }