private boolean isQuote(char[] chars,int pos,int len,int quoteStart,int quoteLen){
  for (int i=0; i < quoteLen; i++) {
    if ((pos + i) >= len || chars[pos + i] != chars[quoteStart + i]) {
      return false;
    }
  }
  return true;
}

private boolean isQuote ( char [ ] chars , int pos , int len , int quoteStart , int quoteLen ) { for ( int i = 0 ; i < quoteLen ; i ++ ) { if ( ( pos + i ) >= len || chars [ pos + i ] != chars [ quoteStart + i ] ) { return false ; } } return true ; }
checks if the characters at the index specified match the quote already matched in readnexttoken ( ) .
