for(int i =0; i < str.length() ; i++){ char current = str.charAt(i); //what do you need to do for each checked character }