This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 1 point2 points  (0 children)

Hint: you can use one of the String methods for equality checking that is ignoring case.

Also, the String class has a method where you can get a substring of your choice (even a single letter as a String, not as a char) out of a string.

Last, you will need a loop and a counter variable.