• Parse URL and retrieve hostname

    Parameters

    • url: string

      The URL string to parse

    Returns string

    a hostname string value