Extract Query Parameter function

The Extract Query Parameter function extracts a query string from the HTTP header's URI string.

Input1 – HTTP header's URI string, for example: URI?name1=value1&name2=value2....#anchor. The characters after ? or # may not be present.

Input2 – A string that specifies the query string's name, for example: name1 in the input1 string.

Output – The query string's string value, for example: value1 in the input1 string.