lvqcl wrote: > Some software writes hex values with 0X prefix, e.g. 0X0033 instead of 0x0033. > It makes sense to do case-insensitive comparison with "0x" string. Applied. Thanks. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/