@@ -0,0 +1,288 @@
+public int stringMatch(String a, String b) %7B%0A  int len = Math.min(a.length(), b.length());%0A  int count = 0;%0A%0A  for (int i=0; i%3Clen-1; i++)%7B%0A    String aSub = a.substring(i, i+2);%0A    String bSub = b.substring(i, i+2);%0A    if (aSub.equals(bSub))%7B%0A      count++;%0A    %7D%0A  %7D%0A  return count;%0A%7D

add stringMatch