Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionfor(int f=0;f<lon;f++){ if(mot.charAt(f)==ess.boit[i][1].charAt(f)){ System.out.println("cha match:"+f ); } }
Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: 6 at java.lang.String.charAt(String.java:686)