@@ -0,0 +1,329 @@
+public String alphaString(String str) %7B%0A  String out = str.substring(0, 1);%0A  String lastCounted = str.substring(0, 1);%0A  for (int i = 1; i %3C str.length(); i++) %7B%0A    if (str.substring(i, i+1).compareTo(lastCounted) %3E= 0) %7B%0A      out += str.substring(i, i+1);%0A      lastCounted = str.substring(i, i+1);%0A    %7D%0A  %7D%0A  return out;%0A%7D%0A

Create alphaString.java