Indy 9
IsHostname
See Also, Unit: IdGlobal
Indicates if a value is a Host name and not an IP address.
function IsHostname(const S: String): Boolean;
Unit
IdGlobal
Parameters
const S: String
Value to be examined as a host name.
Return Value
Boolean - True when the value is not an IP Address.
Description
IsHostname is a Boolean function that indicates if the value in S is a valid host name, but not an IP address in dotted-decimal format.

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