extracts the first relative distinguished name rdn . example : for dn `` cn = user1 , ou = corp , dc = mycompany , dc = com '' this method will return `` cn = user1 '' concode_field_sep Logger LOG concode_field_sep List<String> parseDnPatterns concode_elem_sep List<String> createCandidatePrincipals concode_elem_sep String extractBaseDn concode_elem_sep boolean isDn concode_elem_sep List<String> patternsToBaseDns concode_elem_sep String getShortName concode_elem_sep String patternToBaseDn concode_elem_sep boolean hasDomain concode_elem_sep String extractUserName
String function ( String arg0 ) { return arg0 . substring ( 0 , arg0 . indexOf ( "srini_string" ) ) ; }