Indy 9
DomainName
See Also, Example, Unit: IdGlobal
Returns the domain name in a host address.
function DomainName(const AHost: String): String;
Unit
IdGlobal
Parameters
const AHost: String
Host address to be used.
Return Value
String - Domain name from the internet address.
Description
DomainName is a String function that returns the domain name portion of a host name, including the '.'

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.