How to save HEX array to String?

@anon57585045 , @330R
I want to read the string with "char.at", and compare with some results, in this way:

void readSerialPort(){ 

   if (SerialInputString.charAt (0) == '0' && SerialInputString.charAt(1) == '1' && SerialInputString.charAt(2) == ...'){
    //...Do Something
      }