parseQueryString: Parse a query string

View source: R/webdeveloper.R

parseQueryStringR Documentation

Parse a query string

Description

Parse a query string

Usage

parseQueryString(x, split = "&", consolidate = TRUE)

Arguments

x

A string containing the query string.

split

A string, the character to split by.

consolidate

TRUE/FALSE, if TRUE, consolidates items with the same name.

Value

A named list.

Examples

parseQueryString("?form_id=example&col_name=Test+String")

webdeveloper documentation built on Oct. 18, 2022, 9:06 a.m.