extract_host {urlexplorer}R Documentation

Extract the host from URL

Description

Extract the host from URL

Usage

extract_host(url)

Arguments

url

A character vector of URLs.

Value

A character vector containing the host from each URL.

Examples

extract_host(c("https://example.com", "http://www.example.com"))

[Package urlexplorer version 0.1.0 Index]