@@ -0,0 +1,197 @@
+public String getSandwich(String str) %7B%0A  int first = str.indexOf(%22bread%22), last = str.lastIndexOf(%22bread%22);%0A  if (first == last %7C%7C first == -1) return %22%22;%0A  return str.substring(first+5, last);%0A%7D%0A

Create getSandwich.java