public static String texinfoGetParagraphCommand(String string, int start) {
    { int commandIndex = 0;

      loop000 : for (;;) {
        start = start + 1;
        switch (string.charAt(start)) {
          case ' ': 
            commandIndex = commandIndex + 1;
          break;
          case '\n': 
          case '\r': 
            break loop000;
          default:
            return (null);
        }
      }
      switch (commandIndex) {
        case 0: 
          return ("end");
        case 1: 
          return ("example");
        default:
          return ("unknown");
      }
    }
  }