With more and more people using FrontControllers (pagination scripts) to have one entry point to applications or homepages - I found a need for a function that took a request
url (or any url) and replace certain values of arguments or even to remove some arguments. This function does exactly that. It takes an input string and then replaces or removes
arguments.