public static String stripHexPrefix(String hexString){
  if (hexString.startsWith("0x") || hexString.startsWith("0X"))   return hexString.substring(2);
 else   return hexString;
}

public static String stripHexPrefix ( String hexString ) { if ( hexString . startsWith ( "0x" ) || hexString . startsWith ( "0X" ) ) return hexString . substring ( 2 ) ; else return hexString ; }
strip the " 0x " prefix from a hex string .
