2
Answers

convert string to hex

Hi All,
 
I need to convert string which I get from a textbox to an array.
string = "abcd"
 
will need as hex (array) to sent through comPort 
 
result should be = [61 62 63 64]
 
thanks for helps 
Answers (2)