UpdateURLVariables (open)

Update the variables in a URL with the cells in a record

Syntax

LOADLIB "wh::internet/urls.whlib";

STRING FUNCTION UpdateURLVariables(STRING inurl, RECORD replacements)

Parameters

STRING inurl

Original URL

RECORD replacements

Replaced variables, record with new variables. The cell names will be lowercased, if the value is an empty string the variable will be removed

Return value

STRING

Updated URL