URLToHostName function
Internet utilities
Return to Introduction  Previous page  Next page
Unit
acInet  

Declaration
function URLToHostName(URL: String): String;  

Description
Retrieves the host name from specified URL.  

Example
Result := URLToHostName('http://www.appcontrols.com/appcontrols/overview.html');  
// Result = 'www.appcontrols.com';  

See also
URLToFileName and ParseURL functions.