/** * Write a description of class StrEx here. * * @author Bhaskaran Raman * @version 07 Jan 2004 */ public class StrEx { /** Misc string methods */ public static String sampleMethod(String s1) { //return ""; //return s1.charAt(5); //return s1.equals("abc"); //return s1.indexOf("c"); //return s1.indexOf("c", 3); //return s1.lastIndexOf("c"); //return s1.substring(4,9); //return String.valueOf(2*2*2); return String.valueOf("2*2*2"); } // End sampleMethod } // End class StrEx