Difference between revisions of "NXSL:AddrInRange"
Jump to navigation
Jump to search
(Created page with "__NOTOC__ Checks if given IP address is within given range (including both bounding addresses). == Syntax == AddrInRange(''address'', ''start'', ''end''); == Parameters =...") |
(No difference)
|
Revision as of 18:14, 3 April 2012
Checks if given IP address is within given range (including both bounding addresses).
Syntax
AddrInRange(address, start, end);
Parameters
address IP address to check. start Starting IP address of a range. end Ending IP address of a range.
All IP addresses should be specified as strings.
Return Value
TRUE if address is within given range (including both bounding addresses), and FALSE otherwise.
Examples
AddrInRange("10.0.0.16", "10.0.0.2", "10.0.0.44") -> TRUE AddrInRange("10.0.0.16", "192.168.1.1", "192.168.1.100") -> FALSE