Java dla postaci C w strunie iterate cout i

String s = "...stuff...";

for (int i = 0; i < s.length(); i++){
    char c = s.charAt(i);        
    //Process char
}
Magnificent Mockingbird