I receive an ascii string like this :
�=message :;:-RemoteCommunicationNo version set.%�? ���2?䋹�
I have to decode it to hex and im using bin2hex. I get this data:
0da46500000810123d0a3b3a0a2d0a1352656d6f7465436f6d6d756e69636174696f6e12001a0f4e6f2076657273696f6e207365742e250000803f12090900000060a12b313f
Which is correct. However i want just the 3rd-4th and 5th byte (65,00,00) of this string.
Which is the most efficient way of putting these three bytes in a variable?