IPString()

Syntax

String$ = IPString(IPAddress [, Format])
Description
Returns the string representation in dotted form (ie: "127.0.0.1" for IPv4 or "::1" for IPv6) of the specified numerical IPAddress.

Parameters

IPAddress The IP address. For IPv6, this address needs to be the result of MakeIPAddress(), NextIPAddress() or GetClientIP().
Format (optional) The format of the IP to convert. It can be one of the following value:
  #PB_Network_IPv4: convert an IPv4 address (default).
  #PB_Network_IPv6: convert an IPv6 address.

Return value

Returns the IP address as a string.

See Also

MakeIPAddress(), IPAddressField()

Supported OS

All

<- IPAddressField() - Network Index - MakeIPAddress() ->