I'm trying to do the reverse of HTTP::setGetVar, is there a method that instead of adds a variable to a url but instead removes a variable.
Example:
URL = /page-name/?var1=something&var2=somethingelse
Is there a method that will remove var1=something from the URL and return /page-name/?var2=somethingelse