mp3decoder finally passes the flow-down rule checking.
[IRC.git] / Robust / src / Tests / StringTest.java
1 class StringTest {
2     public static void main(String str[]) {
3         String a="hello world\n";
4         System.printString(a);
5         System.printInt(a.indexOf('e'));
6         System.printString("\n");
7         System.printInt(a.indexOf("world"));
8         System.printString("\n");
9         System.printString(a.subString(3));
10         System.printString(a.subString(3,6));
11         System.printString("\n");
12
13         String b = "Danger iN cAVErn_coVE";
14         System.out.println( "normal: "+b );
15         System.out.println( "upper:  "+b.toUpperCase() );
16         System.out.println( "lower:  "+b.toLowerCase() );
17     }
18 }