code: protected String getTitle(final String input, final char startDelim) {
          if (isStringNullOrEmpty(input)) {
              return null;
          } else {
              return ProcessorUtilities.cleanXMLCharacterReferences(StringUtilities.split(input, startDelim)[0].trim());
          }
      }
docs: Gets the title of a chapter/section/appendix/topic by returning everything before the start delimiter.
  
  @param input      The input to be parsed to get the title.
  @param startDelim The delimiter that specifies that start of options (ie '[')
  @return The title as a String or null if the title is blank.