GetVariableFromUrl (open)
Get the value of a variable from a URL
Syntax
LOADLIB "wh::internet/urls.whlib";
STRING FUNCTION GetVariableFromUrl(STRING url, STRING varname)Parameters
STRING urlURL to search
STRING varnameName of the variable to find
Return value
STRINGThe requested variable's value, or an empty string if the variable could not be found
Description
This function searches for the requested variable in a URL and returns its value, while taking care of proper URL decoding.