====== delVar ====== {#JAPI Joomla.Framework Environment JURI::delVar #} Removes an item from the query string variables if it exists. ===== Syntax ===== void delVar ( **$name** ) | **$name** | string | is a string containing the name of variable to remove. | ===== Examples ===== $uri = new JURI( 'http://www.joomla.org?action=help' ); echo "Before: " . $uri->toString(); $uri->delVar( 'action' ); echo "After: " . $uri->toString(); might produce: Before: http://www.joomla.org?action=help After: http://www.joomla.org