void (String s) { int index = 0; while (Character.isDigit(s.charAt(index))) { index++; } if (index == 0 || <warning descr="Condition 'index == s.length()' is always 'false' when reached">index == s.length()</warning>) { System.out.println("Wrong"); } }