Hi,
Can u please advice how to convert the hex string to ASCII value?
also advice how to convert Binary to ASCII?
Hi,
Can u please advice how to convert the hex string to ASCII value?
also advice how to convert Binary to ASCII?
Did you looked at:
&h, Hex
in the Language Reference
(See also: &b, &c, &h, &o, &u literals; Bin, DecodeHex, EncodeHex, Oct functions.)
Dim str As String
str=chr(Integer.FromHex("61"))
That will give you the ascii character for hex &h61 which is a
If you want to convert from binary
str=chr(Integer.FromBinary("01100010"))
that will give you the ascii character for hex &h61 (01100010) which is b
Cool, you are a magician. You changed the ascii-table and i didn’t see it
Now you only have to
Beware of what you can read about the ASCII Table.
For example there never was Extended ASCII Codes. instead of that try UTF-8 (or others).
[quote=308933:@Pathma Mu]Hi,
Can u please advice how to convert the hex string to ASCII value?
also advice how to convert Binary to ASCII?[/quote]
See decodeHex.