Try this:
lineStr = scanner.nextLine();
byte bytes[] = lineStr.getBytes();
char tab = 9;
if((char)bytes[0]==((char)tab)) {
lineStr = "NA" +lineStr;
}
simple :)
Try this:
lineStr = scanner.nextLine();
byte bytes[] = lineStr.getBytes();
char tab = 9;
if((char)bytes[0]==((char)tab)) {
lineStr = "NA" +lineStr;
}
simple :)