This function returns a series of name\value pairs suitably encoded and delimited to send to a browser as a URL argument. If a blank or Unknown value (?) is passed in, the function returns a blank value.
Location
web\method\cgiutils.i
Parameters
INPUT p_name-list AS CHARACTER
A character expression containing a comma-delimited list of field names. These are available through the get-value function.
INPUT p_delim AS CHARACTER
The delimiter to use between name\value pairs. If the Unknown value (?) is specified, the default is & which is appropriate if the resulting URL is output to the browser.
Returns
CHARACTER
Notes
Unlike the url-field function, no leading delimiter is added to the return string. This is so it can be easily appended to a Unknown value (?) in a URL.
The value associated with each field name is determined by calling the get-value function.
Examples
See the url-format function in web\method\cgiutils.i.