IsIPInRange

Checks if an ip is in the range of a list of given ips. IPv4 and IPv6 are supported.

Returns: boolean

Usage

IsIPInRange( ips, ip )

Arguments

Argument Description
ips
(any, required)

A comma separeted list of strings or a string array of ip defintions. The following patterns are allowed: - a single ip, like "127.0.0.1" - an ip with wildcards like "127.0.0.*", in this case all ips between "127.0.0.0" and "127.0.0.255" are valid - an ip range like "127.0.0.1-127.0.0.10", in this case all ips between "127.0.0.1" and "127.0.0.10" are valid

ip
(string, required)

ip to search

Examples

There are currently no examples for this function.

See also