Topic Path: Symbol Reference > Functions > DomainName Function
ContentsIndexHome
PreviousUpNext
DomainName Function
File
function DomainName(
    const AHost: String
): String;
Parameters 
Description 
AHost 
Host address to be used. 

String - Domain name from the internet address.

DomainName is a String function that returns the domain name portion of a host name, including the '.'

sDomain := DomainName('borland.com');
Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.