get_hostname: Get hostname from URL

View source: R/paths.R

get_hostnameR Documentation

Get hostname from URL

Description

Get hostname from URL

Usage

get_hostname(url)

Arguments

url

string or vector of strings of URLs

Examples

get_path("http://example.com")
get_path("https://www.example.org/index.html")
get_path("s3://hfty-test-bucket/dir1/file.txt")


fcocquemas/hfty.helpers documentation built on Feb. 13, 2023, 7:25 a.m.