/* * Created on May 10, 2005 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - Code Templates *//** * @author zjensen * * @ */public class Woot { public static String[] splitString(String src) { int strLen = src.length(); String[] retVal = new String[strLen]; for (int i = 0;i < src.length(); i++) { retVal[i] = src.substring(i, i+1); } return retVal; } public static void main(String[] args) { String[] ret = splitString("Testing."); for (int x=0; x < ret.length; x++ ) { System.out.println("\"" + ret[x]+"\""); } }}