package test;

public class Strings {
  public static void main(String[] args) {
    String a = "alphabet";
    String b = "belvedere";
    String c = "AlPhAbEt";
    int ia = 5;
    int ib = 6;

    System.out.println(a.contains("phab"));
    System.out.println(a.contains(b));
    System.out.println(a.endsWith("bet"));
    System.out.println(a.toUpperCase());
    System.out.println(a.equalsIgnoreCase(c));
    System.out.println(a.lastIndexOf("a"));
    System.out.println(a.length());
    System.out.println(a.substring(4,6));
  }
}

@@ -152,24 +152,64 @@
 %22AlPhAbEt%22;%0A
+    String d = %22  %5Ct alphabet  %5Cn %5Ct %22;%0A
     int ia =
@@ -212,16 +212,16 @@
 ia = 5;%0A
-
     int 
@@ -308,24 +308,71 @@
 ntains(b));%0A
+    System.out.println(a.startsWith(%22alpha%22));%0A
     System.o
@@ -439,24 +439,65 @@
 perCase());%0A
+    System.out.println(a.toLowerCase());%0A
     System.o
@@ -607,24 +607,24 @@
 .length());%0A
-
     System.o
@@ -653,14 +653,260 @@
 (4,6));%0A
+    System.out.println(a.toString());%0A    System.out.println(d.trim());%0A    System.out.println(a.replace('a','z'));%0A    System.out.println(String.valueOf(1));%0A    //System.out.println(String.valueOf(1.5));%0A    //System.out.format(%22%25s %22, %22asdf%22);%0A
   %7D%0A%7D%0A

Add more tests for Strings.