DeleteVariableFromUrl (open)
Rewrite an URL to remove a variable
Syntax
LOADLIB "wh::internet/urls.whlib";
STRING FUNCTION DeleteVariableFromUrl(STRING url, STRING varname)Parameters
STRING urlURL to modify
STRING varnameName of the variable to remove
Return value
STRINGThe rewritten URL
Description
This function removes the requested variable from a URL and takes care of proper adding of variable separators. If the variable with the specified name occurs more than once inside the URL, all occurences will be removed.