Jump to content
Sign in to follow this  
McGod

Hex to String

Recommended Posts

McGod

I need to be able to convert

%40 to @

Damn web and simplifying things :lmao:

Hex and Dec dont wanna work

Share this post


Link to post
Share on other sites
SmOke_N

$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.

Share this post


Link to post
Share on other sites
Paulie

I need to be able to convert

%40 to @

Damn web and simplifying things :lmao:

maybe this table will help you

http://www.lookuptables.com/asciifull.gif

EDIT:

LOL smoke proved me wrong lol

Edited by Paulie

Share this post


Link to post
Share on other sites
McGod

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

Share this post


Link to post
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
Sign in to follow this  

×