Hex string to Ascii conversion?

briant1972

Member
Licensed User
Longtime User
I'm wondering if anybody has any suggestions for converting a hex string to ascii. For example 4B3A hex would be A: in ascii. I've done it in VB .net but I'm new to Basic4Android and just trying to get started.
 

briant1972

Member
Licensed User
Longtime User
There might be a better way, but here's what I did to get it to convert a string of hex values to ASCII:

ConvertedToByte = convert.HexToBytes(num)
ConvertedToString = convert.StringFromBytes(ConvertedToByte,"ASCII")

Thanks for the help.
 
Upvote 0
Top