Learn R Programming

urlexplorer (version 0.1.0)

extract_path: Extract the path from URL

Description

Extract the path from URL

Usage

extract_path(url)

Value

A character vector containing the path from each URL.

Arguments

url

A character vector of URLs.

Examples

Run this code
extract_path(c("http://example.com/", "http://example.com/path/to/resource"))

Run the code above in your browser using DataLab