Here you can find the source of startsWithLetter(String str)
private static boolean startsWithLetter(String str)
//package com.java2s; //License from project: Open Source License public class Main { private static boolean startsWithLetter(String str) { if (str == null || str.isEmpty()) { return false; }// ww w. ja v a 2s.com char firstChar = str.charAt(0); return firstChar >= 'A' && firstChar <= 'z'; } }