AscToHex(str)
{
NStr =
Tmp := A_FormatInteger
SetFormat, Integer, H
Loop, Parse, str
NStr .= RegExReplace(asc(A_LoopField),"^0x")
SetFormat, Integer, %Tmp%
Return NStr
}
48656C6C6F20576F726C6421
AscToHex(str)
{
NStr =
Tmp := A_FormatInteger
SetFormat, Integer, H
Loop, Parse, str
NStr .= RegExReplace(asc(A_LoopField),"^0x")
SetFormat, Integer, %Tmp%
Return NStr
}
48656C6C6F20576F726C6421
No comments:
Post a Comment