protected String format(String start, String end, int chars, String fillCharacter) {
        String buffer = "";

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

        return start + buffer + end;
    }