函数参考


_HexToString

转换一个十六进制字符串到字符串.

#Include <String.au3>
_HexToString($strHex)

参数

$strHex 一个十六进制字符串

返回值

成功: 返回一个字符串.
失败: 返回 -1 并设置 @error 为 1.

注意/说明

None.

相关

_StringToHex

示例/演示


#include <String.au3>

Local $String = "I like AutoIt3"
Local $Hex = _StringToHex($String)
MsgBox(4096, "Hex", "Original String: " & $String & @LF & " Hex: " & $Hex)

$Hex = "49206C696B65204175746F497433"
$String = _HexToString($Hex)
MsgBox(4096, "Hex", "Original Hex: " & $Hex & @LF & " String: " & $String)