protected String format(String start, int end, int chars) {
        String buffer = "";
        String actualEnd = new Integer(end).toString();

        for (int x = 0; x < chars - start.length() - actualEnd.length(); x++) {
            buffer += " ";
        }

        return start + buffer + actualEnd;
    }