static int lCommonPrefixIC(S a, S b) { int i = 0; while (i < a.length() && i < b.length() && eqic(a.charAt(i), b.charAt(i))) ++i; ret i; }