getHost ( string url ) : string
Return the host of an URL
Example
console(getHost("https://www.idia-tech.com/getHost.html")) //-> www.idia-tech.com
Parameters
url
URL of the page
Return the host of an URL
console(getHost("https://www.idia-tech.com/getHost.html")) //-> www.idia-tech.com