Jump to content

Hex to String


McGod
 Share

Recommended Posts

I need to be able to convert

%40 to @

Damn web and simplifying things :lmao:

Hex and Dec dont wanna work

Link to comment
Share on other sites

  • Moderators

$s = '%40'
MsgBox(64, 'Info', _Convert2Chr($s))
Func _Convert2Chr($sChr)
    Return Chr(BinaryString(StringReplace($sChr, '%', '0x')))
EndFuncoÝ÷ ØGb´êÞ½éÚºÚ"µÍÌÍÜÈH ÌÎNÉM    ÌÎNÂÙÐÞ
    ÌÎNÒ[ÉÌÎNËÐÛÛÚ   ÌÍÜÊJB[ÈÐÛÛÚ   ÌÍÜÐÚBT]ÚÝ[ÔXÙJ    ÌÍÜÐÚ  ÌÎNÉIÌÎNË ÌÎNÌ ÌÎNÊJB[[

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

TY, it worked perfectly, no more email%40domain.com

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...