cat.debug("<getpartFromDN: dnpart="+part);
cat.debug("<getpartFromDN: resulting DN part="+part);
    public static String getPartFromDN(String dn, String dnpart) {        cat.debug(">getPartFromDN: dn=" + dn+", dnpart="+dnpart);        String trimmeddn = dn.trim();        String part = null, o = null;        StringTokenizer st = new StringTokenizer(trimmeddn, ",=");        while (st.hasMoreTokens()) {            o = st.nextToken();            if (o.trim().equalsIgnoreCase(dnpart)) {                part = st.nextToken();            }        }        cat.debug("<getpartFromDN: dnpart="+part);        return part;    } //getCNFromDN