public int match(String s){
  String rep=new String(_dataChars,0,_nDataChars);
  return rep.indexOf(s);
}

public int match ( String s ) { String rep = new String ( _dataChars , 0 , _nDataChars ) ; return rep . indexOf ( s ) ; }
returns the index of string s in the reply
