Learn R Programming

urlexplorer (version 0.1.0)

extract_query: Extract the query from URL

Description

Extract the query from URL

Usage

extract_query(url)

Value

A character vector containing the query string from each URL.

Arguments

url

A character vector of URLs.

Examples

Run this code
extract_query(c(
  "http://example.com?query1=value1&query2=value2",
  "http://example.com?query1=value3"
))

Run the code above in your browser using DataLab