wwUtils::RemoveUrlEncodedKey

Removes a single key from a URL encoded string such a query string or form variable collection.

Useful for manipulating URLs and removing certain values from the query string. For example this function is used internally to strip "page=" directives for paging operations.

Note that only a single match is removed and it might not be the first match that is removed.

o.RemoveUrlEncodedKey(lcQuery,lcKey)

Parameters

lcQuery
Query string to search in

lcKey
The key to look for.


See also:

Class wwUtils

© West Wind Technologies, 2023 • Updated: 10/12/11
Comment or report problem with topic