Hi,
i am trying to write an application that uses validation check for social security number. it should allow 9 charachters. the first two and the last character should be leters and the rest should be digits.
i have used for loop but it doesnt work properly.
int noChar = 0;
for (i=0;i<8;i++)
{
char ch=aString.charAt(i)
if (noChar.isLetter(ch)==0||noChar.isLetter(ch)==1||noChar.isLetter(ch)==8){
return true;
}
else return false;
}
}