Method: url::strip_query

Strips the query from the URL

Info

Syntax

url::strip_query($url)

Parameters

Return (string)

Example


echo url::strip_query('http://www.youtube.com/watch?v=9q_aXttJduk');
// output: 'http://www.youtube.com/watch'