I\'ve got a simple java assignment. I need to determine if a string starts with the letter A through I. I know i have to use string.startsWith(); but I don\'t want to write,
Try
string.charAt(0) >= 'a' && string.charAt(0) <= 'j'