public static void printStat3(String string) {
        if (string == null || string.isEmpty()) {
            System.out.println("Null or empty");
            return;
        }
        char[] temp = new char[1];
        string += '\u0000';
        StringBuilder b;
        b = new StringBuilder();
        for (int i = 0, c=0; i < string.length() - 1; i++) {
            if (b.indexOf(string.substring(i,i+1)) > -1) continue;
            temp[0] = string.charAt(i);
                c = string.split(new String(temp)).length - 1;
            System.out.println(temp[0] + ": " + c);
        }

    }