I have a string like this:
\"00c4\"
And I need to convert it to the numeric value that would be expressed by the literal:
0
There is no such thing as an 'actual hex value'. Once you get into the native datatypes you are in binary. Getting there from a hex string is covered above. Showing it as output in hex, ditto. But it isn't an 'actual hex value'. It's just binary.