@@ -0,0 +1,169 @@
+public String everyNth(String str, int n) %7B%0A  String out = %22%22;%0A  for (int i=0; i%3Cstr.length(); i+=n) %7B%0A    out += Character.toString(str.charAt(i));%0A  %7D%0A  return out;%0A%7D%0A

Create everyNth.java