String userName = "12";
char[] cusMemberId = username.toCharArray();
for(int i = 0;i<cusMemberId.length;i++){
if(Character.isDigit(cusMemberId[i])){
return true;
}else{
return false;
}
}
String userName = "12";
char[] cusMemberId = username.toCharArray();
for(int i = 0;i<cusMemberId.length;i++){
if(Character.isDigit(cusMemberId[i])){
return true;
}else{
return false;
}
}