URLencode: Backport of URLencode for R < 3.2.0

View source: R/URLencode.R

URLencodeR Documentation

Backport of URLencode for R < 3.2.0

Description

See the original description in utils::URLencode. Argument repeated is backported.

Usage

URLencode(URL, reserved = FALSE, repeated = FALSE)

Examples

# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_URLencode = getFromNamespace("URLencode", "backports")

URLdecode(z <- "ab%20cd")
c(bp_URLencode(z), bp_URLencode(z, repeated = TRUE))

mllg/backports documentation built on March 15, 2023, 8:07 p.m.