public static String[] transform(String str)
    {
        //instantiate String[]
        String strArr[] = new String[str.length()];
        
        //transfrom into String[]
        for(int i = 0; i < str.length(); i++ )
            strArr[i] = "" + str.charAt(i);
        
        return strArr;
    }