转换一个十六进制字符串到字符串.
#Include <String.au3>
_HexToString($strHex)
$strHex | 一个十六进制字符串 |
成功: | 返回一个字符串. |
失败: | 返回 -1 并设置 @error 为 1. |
#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)