sorry this is another post from a flurry of recent ones. I have a program that looks for a series of hex digits hard coded in my program like below and searches for them. Ive decided now to try and make it so the user can enter there own search criteria now from a text box field in my program. However when the user enters there criteria it comes out as a string and as i am trying to search for hex characters, i thought i would need to input as an array? I hope that makes sense. i thought converting the string to an array be a possible option but that would spilt up each hex character into something like ''0'', "x","F","F" i think?

Code:
static char match_criteria[] = { 0xFF, 0xD8, 0xFF, 0xE0 };