Learn R Programming

urlexplorer (version 0.1.0)

extract_fragment: Extract the fragment from URL

Description

Extract the fragment from URL

Usage

extract_fragment(url)

Value

A character vector containing the fragment from each URL, if present.

Arguments

url

A character vector of URLs.

Examples

Run this code
extract_fragment(c("http://example.com/#sec1", "http://example.com/#sec2"))

Run the code above in your browser using DataLab