package javaapplication1;
public class JavaApplication1 {
public static void main(String[] args) {
String s = "php java php c++ PHP";
if (s.startsWith("PHP")) {
System.out.println("starts with PHP");
} else {
System.out.println("not start with PHP");
}
}
}
/*
run:
not start with PHP
*/