private int skipQuotedString(String str,int pos){
  int n=str.length();
  pos+=1;
  while (pos < n) {
    if (str.charAt(pos) == '\'') {
      if (pos + 1 < n && str.charAt(pos + 1) == '\'') {
        pos+=2;
        continue;
      }
      return pos + 1;
    }
    pos+=1;
  }
  return n;
}

private int skipQuotedString ( String str , int pos ) { int n = str . length ( ) ; pos += 1 ; while ( pos < n ) { if ( str . charAt ( pos ) == '\'' ) { if ( pos + 1 < n && str . charAt ( pos + 1 ) == '\'' ) { pos += 2 ; continue ; } return pos + 1 ; } pos += 1 ; } return n ; }
skips a quoted string , beginning at the index of the opening quote .
