Extracts the query parameters of a URL into an Object. The Object keys are the parameter's names, and its values are the parameter's values. Input values must be of URL or String type.

This function is part of a set of functions for processing URL data.

URL literal examples:

urlparams('http://example.com?color=blue&shape=square')


Output:
Returns the following Object:

{"color": "blue","shape": "square"}

Column reference example:

urlparams(myURLs)

Output: Returns the query parameters extracted from the URLs in the myURLs column. 

urlparams(column_url)


ArgumentRequired?Data TypeDescription
column_urlYstringName of column or String or URL literal containing the parameters and their values to extract

column_url

Name of the column or URL or String literal containing the query parameters and their values to extract.

 

Required?Data TypeExample Value
YesString literal or column reference (URL)http://www.example.com?q1=hello&q2=goodbye

Example - Domain, Subdomain, Host, and Suffix functions