public static String asctodec(String code) {
        char[] codeline = removeSpaces(code).toCharArray();
        String[] parts = new String[codeline.length];
        String result = "";

        for(int i = 0; i < codeline.length; i++) {
            parts[i] = "";
            if(codeline[i] / 100 < 1) {
                parts[i] += "0";
            }
            parts[i] += (int) codeline[i];
        }
        for(String part : parts) {
            result += part + " ";
        }
        return result;
    }