comparing hex values comprising string
Posted: Mon Apr 25, 2005 3:49 am
Hello
I have a string which I read from a file
I would like to test if the string begins with a specific hex prefix like so:
FF D8 FF E0
the value read from the file is found in a variable called $input
How can I make such comparison?
regards
I have a string which I read from a file
I would like to test if the string begins with a specific hex prefix like so:
FF D8 FF E0
the value read from the file is found in a variable called $input
How can I make such comparison?
regards