string starts with alphabet java

49

string starts with alphabet java -

if(string.charAt(0) == char){
  System.out.println("String starts with char");
}

Comments

Submit
0 Comments