public void foo(String s) { while (i < 13 && i != 4 && i > 0) { i += s.length(); } }