ive got a hex-string like 88F4. with the "String To byte Array" the result is 56567052. How can I convert my hex string in a byte array with 2 Numbers (88 and F4)?
pass the string at first trough the from shexadezimal string functions and th eresult trough the Quotient & Remainder of dezimal function and build an array of the two result values.
Niko
WeberM wrote:
> ive got a hex-string like 88F4. with the "String To byte Array" the > result is 56567052. > How can I convert my hex string in a byte array with 2 Numbers (88 and > F4)?
String to byte array acts like a typecast and is not what you need if the string shows "88F4" when set to normal, not hex display. You need to scan values. A simple example is attached that works if your string is clean (even number of valid hex characters). There are probably better ways to do this.