question: private char convertToChar ( String kurzname ) { char result = KEIN_SIEGEL ; if ( kurzname != null && ! kurzname . isEmpty ( ) ) { if ( kurzname . length ( ) > 1 ) { result = kurzname . toCharArray ( ) [ 1 ] ; } else { result = kurzname . toCharArray ( ) [ 0 ] ; } } return result ; }
target:  Convert ">G<", A, B, C, W, "-", "---" to a char ">G<" is converted to G