Sign in to follow this  
Followers 0
McGod

Hex to String

4 posts in this topic

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



#2 ·  Posted (edited)

$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

[center]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.[/center]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

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  
Followers 0