Hi, I was wondering if anyone knew a function that would give me the first byte of Hex characters from a hex string. Now keep in mind that I would not know the value of the characters, so I could not use any function looking for a specific string. For example: the user enters a number and it is converted to Hex behind the scenes. Lets say the number is 0xABCD. I want the AB to be stored in string variable x. But since I cannot search for AB in the string, how would I do this?