powered by
Extract the value of a specified parameter from the query string
extract_param_value(query, param_name)
A character vector containing the value of the specified parameter from each query string.
A character vector of query strings.
The name of the parameter to extract values for.
extract_param_value(c("param1=val1¶m2=val2", "param1=val3"), "param1")
Run the code above in your browser using DataLab