I am trying to convert ASCII text to equivalent hexadecimal notation.
Example HELLO should return 48454c4c4f.
here is the program
dim msg As String = "Hello"
dim hexstring As String
for i = 0 to msg.length -2 step 2
hexstring = Hex(Asc(msg(i))) +Hex(Asc(msg(i + 1)))
next i
dim msg As String = "Hello"
dim hexstring As String
for i = 0 to msg.length -2 step 2
hexstring = Hex(Asc(msg(i))) +Hex(Asc(msg(i + 1)))
next i