PowerUp Description
The pwrGETQUERYSTRINGTOKENVALUE PowerUp function retrieves the value of a parameter (token) provided in the querystring of a URL.
PowerUp Syntax
pwrGETQUERYSTRINGTOKENVALUE(sourcestring, token)
The pwrGETQUERYSTRINGTOKENVALUE PowerUp function has the following arguments:
sourcestring – Required. This is the string that contains the querystring. This string can be either a complete URL or only the querystring.
token – Required. This is the parameter to retrieve the value from.
Return Value
pwrGETQUERYSTRINGTOKENVALUE will return the value associated with the requested token.
Remarks
This value will automatically be unescaped.
Example
=pwrGETQUERYSTRINGTOKENVALUE("param1=a¶m2=b&username=user1¶m4=c","username")
Will return the following:
user1