IsHostname
Indicates if a value is a Host name and not an IP address.
function IsHostname(const S: String): Boolean;
Unit
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.