code: public static String getLogicalModuleName(String path) // F743-23167
      {
          int lastForwardSlash = path.lastIndexOf('/');
          if (lastForwardSlash != -1)
          {
              path = path.substring(lastForwardSlash + 1);
          }
  
          int lastDot = path.lastIndexOf('.');
          if (lastDot != -1)
          {
              path = path.substring(0, lastDot);
          }
  
          return path;
      }
docs: Parses the logical module name from a module path. The module path is a
  relative path name using forward slashes. The logical module name is the
  base name of the module name with the suffix removed.
  
  @param path the module path
  @return the logical module name of the module name