docs: public static String extractUserName(final String hostname) {
          if (containsUserName(hostname)) {
              return hostname.substring(0, hostname.indexOf("@"));
          } else {
              return null;
          }
      }