/** 判断字符串中是否包含字母 **/
public static boolean isContainsLetter(String input){
if(!StringUtil.isNull(input)){
Matcher matcher = Pattern.compile(".*[a-zA-Z]+.*").matcher(input);
return matcher.matches();
}else{
return false;
}
}
判断字符串中是否包含字母
猜你喜欢
转载自dong-android.iteye.com/blog/2207487
今日推荐
周排行