Internet Direct (Indy)
Home
PreviousUpNext
IsDomain Function

Indicates if a Host address represents a valid Domain name.

Pascal
function IsDomain(
    const S: String
): Boolean;
Parameters 
Description 
Domain name to be validated. 

Boolean - True when not an IP Address or Top-Level Domain Name.

IsDomain is a Boolean function that indicates if the value in S represents a Domain name. The value is considered a Domain name when it does not contain a valid IP address in dotted-decimals format, and it is not a Host name or Top-Level Domain name.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.