extract_fragment: Extract the fragment from URL

View source: R/extract.R

extract_fragmentR Documentation

Extract the fragment from URL

Description

Extract the fragment from URL

Usage

extract_fragment(url)

Arguments

url

A character vector of URLs.

Value

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

Examples

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

urlexplorer documentation built on Aug. 8, 2025, 7:29 p.m.