Function EN Version 5.00

@IPHexDump2DecAdr

Float List Misc Text

Syntax

@IPHexDump2DecAdr(TEXT1);
@IPHexDump2DecAdr(TEXTLIST1);

Description

Converts V4 IP address(es) in HEX dump notation (TEXT/TEXTLIST TEXT1/TEXTLIST1) into IP address(es) in decimal dotted notation and returns them.

HEXDump Notation:
An IP address may be 7 or 8 characters long. If it has 7 characters, a leading 0 (zero) is assumed.
The digits 0-9 and characters A-F respective a-f are permited.
If an invalid IP address is detected, @ERROR is returned (also for a TEXTLIST).

Return value:
On Success TEXT/TEXTLIST, otherwise @ERROR.

Example: @IPHexDump2DecAdr(TEXT1)

TEXT1:="0A0B0C0D";
@TextToNumber(TEXT1);

returns "10.11.12.13"

Example: @IPHexDump2DecAdr(TEXTLIST1)

TEXTLIST1:="0A0B0C0D":"A0B0C0D":"FFFEFDFC";
@TextToNumber(TEXTLIST1);

returns "10.11.12.13":"10.11.12.13":"255.254.253.252""

Note : This text was machine-translated and may contain inaccuracies.