Method: url::strip_hash

Strips a hash value from the URL

Info

Syntax

url::strip_hash($url)

Parameters

Return (string)

Example


echo url::strip_hash('http://testurl.com/#somehash');
// output: 'http://testurl.com/'