Jump to content

convert ACSII to string


Recommended Posts

How to convert a ASCII code to string? example 0x3C3F7068700A2462313D245F504F53545B27746

Chr ( ASCIIcode ) Returns a character corresponding to an ASCII code.

but your example seems to be Hex...

Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Try:

#include <string.au3>
ConsoleWrite(_HexToString("3C3F7068700A2462313D245F504F53545B277460") & @CRLF)
ConsoleWrite(BinaryToString("0x3C3F7068700A2462313D245F504F53545B277460") & @CRLF)

In your example one character is missing! I added a '0' to the hex string!

Br,

UEZ

Edited by UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

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